Re: Running R from Unix Command Line

Malay <[email protected]> Fri, 04 Aug 2006 10:14:34 -0400
Newsgroups gmane.science.biology.informatics.devel
Message-ID <[email protected]>
Shalini Sridhar wrote:
> Hello all,
> 
> If someone can please throw a light on this I would be eternally greatful :
> 
> I have a CGI PERL Script that needs to invoke the R program on the 
> command line of UNIX and send commands to it.
> 
> Can I do this using the normal system command? Would this work? If so, 
> how can I specify the commands without clashing with the double quotes 
> of perl and that of R?
> 
> If not, could someone please suggest an alternative to this ?
> 
> Thanks
> 
> Shalini
> 
> 

There are two more ways:

R.pm http://search.cpan.org/~gmpassos/Statistics-R-0.02/lib/Statistics/R.pm

and

RSPerl

http://www.omegahat.org/RSPerl/

-Malay