On Thu, 15 Jan 2004, Enrico Curiotto wrote:

> Hello,
> 
> I have written perl programs that extract data from a
> text file, process them, and create other text files,
> which I'd like to apply some statistics too (for
> example with R).
> 
> I'd like to do it all in once , with a single script.
> I'm not familiar with R, I'd like to know if this task
> could be accomplished by creating a linux shells that
> launches the perl scripts and then "R functions" that
> maybe pass back some results to the system like in
> this schema:
> 

You could call R in BATCH mode from the perl script using
one of the system interface operators, e.g., "system", or use the 
'Shell' module.

I have also bumped (but didn't try yet) into R-Perl interface 
called RSPerl which might be much more than you what you need.
I think it is under the "Omega" link in the R website. If not
google for RSPerl.

'R --help' will give you pointers to running R in BATCH mode.

        Itay

--------------------------------------------------------------
[EMAIL PROTECTED]               Fred Hutchinson Cancer Research Center

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to