Skip to content
Prev 1628 / 63435 Next

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

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

http://www.stats.ox.ac.uk/pub/R/win32/new/bdr0631.zip

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.