Re: [R] Calling R from Perl

2010-03-30 Thread Jonathan Baron
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 a

[R] Calling R from Perl

2010-03-30 Thread Ayush Raman
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 [[alterna