[R] Call perl from R

Marc Schwartz marc_schwartz at me.com
Sun Aug 23 17:34:08 CEST 2009


On Aug 22, 2009, at 7:06 PM, Peng Yu wrote:

> Hi,
>
> I see the following package that can help me call perl from R. But the
> webpage is about 3 years old. I am wondering what the latest package
> that can help calling perl from R.
>
> http://www.omegahat.org/RSPerl/
>
> Regards,
> Peng

RSPerl provides the ability to call Perl from R and R from Perl.  If  
you want to simply call Perl scripts from R, you can create a Perl  
script file and call it from R using the system() command.  See ?system.

For an example, see the WriteXLS package on CRAN.

HTH,

Marc Schwartz




More information about the R-help mailing list