I've been looking into tools to seamlessly data munge from Perl into R and back into Perl, and I've seen two packages recommended: Statistics::R and Statistics::useR which seem to cater for different conceptual needs, but I can't figure out which one is worth investing time with. What are the pros/cons of these two?
closed as off topic by Konrad Rudolph, gnat, Walter, Matthieu, Ryathal Sep 14 '12 at 19:46
Questions on Programmers Stack Exchange are expected to relate to software development within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
|
I couldn't give you any decent information on Statistics::useR, but I've used Statistics::R for the last 18 months to aid in the development of a genome informatics pipeline I have been working on as part of my PhD. I have found it an excellent package for doing exactly as you require. From looking at the package details on CPAN I find the syntax for Statistics::R easier to use than Statistics::useR, but I think they are both pretty similar in the functionality they provide. Statistics::R seems to provide more of an interface to the actual interpreter, so that you send commands as you would enter a single command in the R console and then read it's output, if required. Statistics::userR appears to return the R data as a Perl object, so you can then work with it more in Perl. I guess it depends if you want R to do all the hard work (Statistics::R) or Perl to have more of an input in managing the data (Statistics::useR)? Or at least that's the picture I get from it! Cheers, Steve |
|||
|
|