[R] Runing perl script from R

From: Rice, Terri <terri.rice_at_ucsf.edu>
Date: Fri, 08 Apr 2011 13:56:40 -0700


Hi. I am trying to run perl script from R. Here's what happens.

> setwd("C:\\Terri\\perl")
> getwd()

[1] "C:/Terri/perl"
> list.files()

[1] "hello.pl" "lines1_10.txt" "try_my.pl" "try_my.txt"
> system("hello.pl")

Warning message:
In system("hello.pl") : Impossible to run C:\Terri\perl\hello.pl

Does anyone know what I am doing wrong?

Thanks!

Terri

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 08 Apr 2011 - 21:04:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 09 Apr 2011 - 00:00:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive