ESS with R and S-PLUS under Windows 9x/NT.

Prof Brian Ripley Prof Brian Ripley <>
Mon, 7 Dec 1998 12:38:11 +0000 (GMT)

> From: (A.J. Rossini)
> Date: 23 Nov 1998 12:46:03 -0800
> Thanks much.  I'm hacking Emacs/ESS on MS Windows platforms starting
> mid next month, thanks to some external prodding (and now, product
> availability from both R, Splus).  And I think XLispStat might be able
> to talk (at least DDE), as well, which would be nice
> If anyone evaluates the situation before then (ESS/Emacs/R on MS
> Windows 95/98/NT), please send me some email with comments, to help me
> out! (MS isn't my native environment by a long shot :-).

I have a version of R that does work I believe with ESS on NTEmacs, at

The only thing I had to do was to run .../bin/rterm.exe with the
starting argument --ess.  This convinces the R executable that it is
attached to a terminal and so to behave in interactive mode. I am no
great exponent (not fan) of inferior mode, but everything I tried
worked exactly as on Unix, even down to needing to go into the *R*
buffer to confirm options when quitting.

Two caveats:

-- Only tested so far on Windows 95. It may not work on NT, as the R
   executables won't run from the NT command line, yet.
-- This may depend on your shell setting for NTEmacs.

On the S-PLUS front, if you have

(setenv "ALWAYS_PROMPT" "T")

the s+3 inferior mode works right out of the box once you set the
executable to be SHOME/cmd/sqpe.exe.  This gives you everything except
access to graphsheets.  And my DDE solutions give modest success if
graphsheets are needed.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-devel mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: