Skip to content

Runing perl script from R

2 messages · Rice, Terri, Duncan Murdoch

#
On 11-04-08 4:56 PM, Rice, Terri wrote:
Perl scripts are not generally executable on their own.  The shell will 
automatically run something like "perl hello.pl", but you went to a 
lower level.

To get what you want in Windows, try

shell('hello.pl') # Windows only

or

system('perl hello.pl')

Duncan Murdoch