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

_______________________________________________
R-SIG-GUI mailing list
R-SIG-GUI@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-gui

Reply via email to