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
In reply to running R from perl by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |