Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I want to be able to call R to do some stats from perl. I can do this fine with backticks giving R an input file as a parameter, but what I really want to be able to do is start R running and send it commands from my perl script and get its output back as I go along. Googling suggests this is not as simple as it sounds and I'm getting a little lost reading pages of stuff about fork, pipe, exec, open2, etc. Am I looking in the right place? Can anyone point me to an example that does something similar?
Many thanks, Cxx
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: running R from perl
by Albannach (Monsignor) on Mar 26, 2004 at 18:08 UTC | |
by Anonymous Monk on Mar 26, 2004 at 18:48 UTC | |
by flyingmoose (Priest) on Mar 26, 2004 at 20:16 UTC | |
|
Re: running R from perl
by flyingmoose (Priest) on Mar 26, 2004 at 18:06 UTC |