Re: [R] calling Perl script from R on Windows 7

2010-05-24 Thread Greg Snow
r-help-boun...@r- > project.org] On Behalf Of Harsh > Sent: Saturday, May 22, 2010 2:13 PM > To: r-help@r-project.org > Subject: [R] calling Perl script from R on Windows 7 > > Hi list, > I would like to capture the console output of a Perl script by running > the >

[R] calling Perl script from R on Windows 7

2010-05-22 Thread Harsh
Hi list, I would like to capture the console output of a Perl script by running the script from R. I have tried the following: # Create perl script cat( 'print "Hello World\n";',file="hello.pl" ) # Trial 1 system(command="c:\\Perl64\\bin\\perl hello.pl") -I saw no output for the above command. I