|Think about Loose Coupling|
Calling R in perlby blackzero (Acolyte)
|on Dec 15, 2012 at 23:39 UTC||Need Help??|
blackzero has asked for the
wisdom of the Perl Monks concerning the following question:
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.