[R-gui] Small annoyance while interacting with R

Duncan Temple Lang duncan at wald.ucdavis.edu
Mon Oct 24 17:31:32 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


You don't tell us anything about your platform or how
you are creating the R session.
But yes, R is designed when running in non-interactive mode
to quit when there is an error.
There are different things you can do to get the desired
behaviour.  I suggest you send mail to r-devel as this
is not just an R-sig-gui question.

 D.

Pablo Winant wrote:
> 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 at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-gui

- --
Duncan Temple Lang                duncan at wald.ucdavis.edu
Department of Statistics          work:  (530) 752-4782
371 Kerr Hall                     fax:   (530) 752-7099
One Shields Ave.
University of California at Davis
Davis, CA 95616, USA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDXP5U9p/Jzwa2QP4RAjqxAJ9zAXiOikVtyBc5ocqVD5lSpeUflgCeKB/M
LOGF46ZxUWCJdUYjDEelpdw=
=qEEu
-----END PGP SIGNATURE-----



More information about the R-SIG-GUI mailing list