ESS-mode and X-emacs problem "-noreadline" solution

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Fri, 16 Jan 1998 16:57:31 +0100


ESS-5.0  does not yet contain the "-noreadline" flag.

ESS-5.0 came out only very shortly after R 0.60,
if "-noreadline" would have been builtin, no R version < 0.60
would have worked....

Here is the patch --- apply it if you are willing to only use  
R versions >= 0.60 (with ESS):

Excuse that I didn't give this answer earlier...

---------------
Martin Maechler <maechler@stat.math.ethz.ch>			<><
Seminar fuer Statistik, ETH-Zentrum SOL G1;	Sonneggstr.33
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1086
http://www.stat.math.ethz.ch/~maechler/



--- essd-r.el.~1~	Mon Nov 24 18:26:40 1997
+++ essd-r.el	Fri Dec  5 09:21:17 1997
@@ -92,9 +92,10 @@
    (format "(R): current-prefix-arg=%s \n"
 	   current-prefix-arg))
 
-  (let ((r-start-args  (if start-args (read-string "Starting Args ? ") nil)))
-    (if (not start-args) (inferior-ess)
-      (inferior-ess r-start-args))))
+  (let ((r-start-args  (concat "-noreadline "
+	 (if start-args (read-string
+			 "Starting Args [other than `-noreadline'] ? ") nil))))
+      (inferior-ess r-start-args)))
 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._