[R] r-mode (ESS/XEmacs) issue solved

Lüdde Mirko mirko.luedde at cellcontrol.de
Sun Jun 10 22:11:46 CEST 2001


Hi folks, 

I was able to track down the problems I had 
with xemacs / ESS / cygwin / MS W2000 to the 
file "essd-r.el" in the ESS 5.1.18 package.

ESS seems to think, it is running 
in a complete Unix environment and 
sends the wrong command line option 
("--no-readline" instead of "--ess") 
to the MS W2000 executable "Rterm.exe". 

My temporary patch looks as follows (not a general solution!)
; essd-r.el
;; ... some code ...
;; R that does the right thing irregardless of OS.
;; ... more code ...
  (let* ((r-always-arg 
	  ;; replaced the following due to problems on cygwin / MS W2000
	  ; (if (or (equal window-system 'w32) (equal window-system 'win32))
	  ;    "--ess "
	  ;  "--no-readline " )
	  "--ess " ; <Mirko.Luedde at CellControl.De>
	  )
;; ... even more code ... 

Of course, using MS W2000 executables in a cygwin / XEmacs / ESS 
environment is cheating, so I deserved right ;-)

By the way, I'm also facing problems compiling the R source 
on cygwin. The preprocessor symbol "Win32" seems to be defined 
and seems to disturb some ".h" and ".c" files. 
Do you have any suggestions on compiling R on cygwin / W2000? 

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



More information about the R-help mailing list