running ESS with S-PLUS 6.1

Richard M. Heiberger rmh at
Wed Aug 4 04:55:25 CEST 2004

There are three lines you need in your init.el file.  You showed only
two of them.  I normally place them before the ess-site line.

This is the S-Plus 6.2 version, the version released in December 2003.

(setq-default inferior-S+6-program-name "c:/progra~1/Insightful/SPLUS62/cmd/Splus")
(setq-default inferior-Sqpe+6-SHOME-name "c:/progra~1/Insightful/SPLUS62")
(setq-default inferior-Sqpe+6-program-name "c:/progra~1/Insightful/SPLUS62/cmd/Sqpe.exe")

(require 'ess-site)

Change the SPLUS62 to SPLUS61 for the older program.

w32-short-file-name is an emacs function that seems not to be in xemacs.  Here is
the help for it.

  w32-short-file-name is a built-in function.
  (w32-short-file-name FILENAME)

  Return the short file name version (8.3) of the full path of FILENAME.
  If FILENAME does not exist, return nil.
  All path elements in FILENAME are converted to their short names.

You can use this placeholder replacement in Xemacs and it works for S-Plus with
the definitions above.  It won't work if you really need the 8.3 name.

(defun w32-short-file-name (x)
  "Placeholder for use with Xemacs.
The real function in Emacs returns the short file name version (8.3) of
the full path of FILENAME.  This placeholder version returns its argument."

More information about the ESS-help mailing list