[R] r-mode (ESS/XEmacs)

Dirk Eddelbuettel edd at debian.org
Sun Jun 10 15:51:24 CEST 2001


  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

-- 
According to the latest figures, 43% of all statistics are totally worthless.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list