http://www.perlmonks.org?node_id=1009021

blackzero has asked for the wisdom of the Perl Monks concerning the following question:

Hi.

I want to write a perl program that calls R software (http://www.r-project.org/), pass it some objects (vector and arrays), use some of the R functions and then return a array to perl.

I saw there is a software to integrate both languages called RSperl (http://www.omegahat.org/RSPerl/RFromPerl.html), but I wondering if there's a way to do that without use any other program than perl and R itself.

Anyone knows how to do that?

If so, please show me an example.

Thanks