[Rd] Problems with RPython when stdin is not a terminal

Warnes, Gregory R gregory_r_warnes@groton.pfizer.com
Tue, 31 Jul 2001 11:55:48 -0400


 
Hi, I've been trying to work with the RPython interface and noticed a
strange problem.  When
stdin is not a terminal the R part of the RPython interface complains.

EG,

	$ python RPython.py
	Initialized R-Python interface package.

works fine, but

	$ python < RPython.py
	


This particular strangeness isn't a problem in this context, but it does
become a problem when I try to use the python-mode of xemacs.  If I do
<Control-c><Control-c> to submit my python code I get the same error:

	Fatal error: you must specify `--save', `--no-save' or
`--vanilla'

Is there a way to fix this?

-Greg

(BTW: I've crossposted this to omega-remote and R-devel.  What list
_should_ I be sending this type of message to?  I also considered R-help
and omega-bugs...)



-Greg


LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._