in reply to Re^2: Perl & R ?
in thread Perl & R ?

Just curiously, have you tried:
system("R commands.r")

Replies are listed 'Best First'.
Re^4: Perl & R ?
by Jaya (Acolyte) on Mar 29, 2005 at 07:11 UTC
    Yes. I did. That was the first thing i tried.
      how about...
      system "R --no-save < commands.R 2>&1 > /dev/null";
        thank you. this does work!

        what does /dev/null stand for?

        what does 2 and &1 stand for

        how to interpret this command

        I am new to perl. I am sorry if these questions sound trivial