[R] Calling R from Perl
Jonathan Baron
baron at psych.upenn.edu
Tue Mar 30 16:29:04 CEST 2010
One way to do this is with Rscript. If you want Perl because it can
handle cgi, then CGIwithR is also useful. You can call Rscript from
Perl, but you can also do the reverse (with "system()") and have your
Rscript be the main routine.
Jon
On 03/30/10 10:19, Ayush Raman wrote:
> Hi all,
>
> I am interested to know that how it is possible to call R from Perl. I would
> like to read the file in Perl, store it in a data structure and would like
> to pass the data structure to R so that I can do the mathematical operations
> easily.
>
> Thanks.
>
> --
> Regards,
> Ayush Raman
--
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
More information about the R-help
mailing list