Skip to content

r-mode (ESS/XEmacs)

3 messages · Lüdde Mirko, Brian Ripley, Dirk Eddelbuettel

#
Hello, 

please excuse me if this is not the appropriate 
mailing list, but I'll give it a try!

I recently switched from using Emacs 20.7.1 to 
XEmacs 21.4, both on cygwin / MS W2K. 

On Emacs the ESS 5.1.17 was working well, but 
now, when calling R from within XEmacs, 
it first asks for the working directory, 
then says "R process is not running". 

The ESS buffer holds the message: 

"WARNING: unknown option --no-readline
Fatal error: you must specify `--save', `--no-save' or `--vanilla'

Process R exited abnormally with code 2 at Sat Jun  9 23:51:45 2001". 

Any ideas? 

Thanks, Mirko. 

--
Dr. M. Luedde <Mirko.Luedde at CellControl.De>
CellControl Biomedical Laboratories AG
Am Klopferspitz 19, 82152 Martinsried
+49-89-895275-0 +49-179-5252064 
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Sun, 10 Jun 2001, [iso-8859-1] Lüdde Mirko wrote:

            
This is on Windows, I guess. The rw-FAQ says:

2.8 Can I use rw1023 with ESS and emacs?
========================================

Yes. The latest versions of ESS (e.g. 5.1.18) come with support for this
version of R, and there is support for interrupting the R process from
ESS (by `C-c C-c').

For help with ESS, please send email to <ESS-help at stat.ethz.ch>, not
the R mailing lists.

This is particular true here, where the problem must be with something
other than R as that worked under (I presume) NTemacs 20.7.
#
Mirko> I recently switched from using Emacs 20.7.1 to XEmacs 21.4, both on
  Mirko> cygwin / MS W2K.
[...]
  Mirko> "WARNING: unknown option --no-readline Fatal error: you must specify
  Mirko> `--save', `--no-save' or `--vanilla'

I did a similar upgrade on Friday. Modify lisp/essd-r.el at line 119 from

  (let* ((r-always-arg
	  (if (or (equal window-system 'w32) (equal window-system 'win32))
	      "--ess "
	    "--no-readline "))

to 

  (let* ((r-always-arg "--ess ")

Ie, it should unconditionally give the --ess switch as under Cygwin the test
for W32 leads to --no-readline which the Rterm.exe doesn't understand.

Note that this is untested as I am at home where I use a more pleasant
operating system. Best to edit the file in XEmacs to make sure the parens
balance. 

Hope this helps,  Dirk