On Jun 29, 2009, at 8:58 AM, mau...@alice.it wrote:
I read some archived posts about calling R from Perl scripts. There
seems to be an R package creating the necessaary interface.
I'd like to do the opposite. That is to call Perl from an R script.
I wonder whether this is possible at all ???
What about Bioperl which is a Perl variation built to deal with
Bioinformatic datasets ?
Thank you,
Maura
You would typically use the system() function to do this. See ?system
for more information.
If you want to see a specific example, which includes passing
arguments to the Perl script, you can look at the R and Perl code in
the WriteXLS package on CRAN.
HTH,
Marc Schwartz
______________________________________________
R-help@r-project.org 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.