On Fri, 7 Sep 2007, Pierce, Ken wrote:
> I've tried various configurations of .script, system and shell to no
> avail. It seems to pause and run "something" but then no output is
> created.
Works for me:
> cat( 'print "Hello World\n";',file="hello.pl" )
> system("perl hello.pl")
Hello World
>
Maybe a path issue?
>
> -----Original Message-----
> From: Dirk Eddelbuettel [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 07, 2007 1:11 PM
> To: Pierce, Ken
> Cc: r-help
> Subject: Re: [R] Running a PERL script from R
>
> On Fri, Sep 07, 2007 at 12:15:51PM -0700, Pierce, Ken wrote:
>> Is there a way to run a simple perl script from R?
>
> ?system
>
> Hth, Dirk
>
> --
> Three out of two people have difficulties with fractions.
>
> ______________________________________________
> [email protected] 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.
>
Charles C. Berry (858) 534-2098
Dept of Family/Preventive Medicine
E mailto:[EMAIL PROTECTED] UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901
______________________________________________
[email protected] 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.