[R] Runing perl script from R
murdoch.duncan at gmail.com
Sat Apr 9 01:40:39 CEST 2011
On 11-04-08 4:56 PM, Rice, Terri wrote:
> Hi. I am trying to run perl script from R. Here's what happens.
>  "C:/Terri/perl"
>  "hello.pl" "lines1_10.txt" "try_my.pl" "try_my.txt"
> Warning message:
> In system("hello.pl") : Impossible to run C:\Terri\perl\hello.pl
> Does anyone know what I am doing wrong?
Perl scripts are not generally executable on their own. The shell will
automatically run something like "perl hello.pl", but you went to a
To get what you want in Windows, try
shell('hello.pl') # Windows only
More information about the R-help