[R-gui] Small annoyance while interacting with R
Pablo Winant
pablo.winant at ens-lyon.org
Mon Oct 24 17:07:34 CEST 2005
Hello,
I'm trying to write some program in Ruby to interact with the R console but it
doesn't work : in short, I can connect R standard input, output and error and
retrieve correct calculations for correct inputs, but as soon as R writes
something to the standard error, the program exits.
For example
for
stdin : "3 + 3;"
stdout : ">3+3\n" "6\n"
but for
stdin : "a;"
stdout : "Error : object not found\n" "Execution finished"
It doesn't say that when used with the normal shell.
The same program works perfectly with the simple calculator bc. Does anyone
knows of this particularity ?
Pablo
More information about the R-SIG-GUI
mailing list