Réf. : [ESS] Running multiple S+ versions

gerald.jean at dgag.ca gerald.jean at dgag.ca
Wed Mar 2 17:43:14 CET 2005

Ok, maybe I should be a little more explicit.

I am, usually, running a 64-bit version of Splus that we have named
"Splus64", I added the following lines in my ".emacs" file:

(require 'ess-site)
(add-hook 'ess-mode-hook
   (function (lambda()
             (setq-default inferior-S+6-program-name
             (setq ess-ask-for-ess-directory nil)
             (setq ess-directory nil)
             (setq ess-execute-in-process-buffer t)
             (make-local-variable 'comment-indent-function)
             (setq-default comment-indent-function 'ess-comment-indent)
             (fset 'run-s "\C-x2\M-xS\C-m")
             (global-set-key "\M-s" 'run-s)         ; ESC-s runs "run-s"
which starts S
             (setq ess-source-directory

and "M-S" started that version of Splus, doing that for the last several
years without problems, "Splus64" is Splus-6.2, 64-bit.

I am a Beta tester for S+7, obviously I don't want to get rid of "Splus64"
and I would like to be able to run "S+7" and "Splus64" from ESS.  S+7 is
located in: "/actuaria/splus7_app/bin" and the executable is named:
"Splus7", I tried to add the following lines in the lambda function above
but it didn't work!

             (setq-default inferior-S+7-program-name

Any suggestions?  By the way my lisp's programming skills are extremely


Gérald Jean
Analyste-conseil (statistiques), Actuariat
télephone            : (418) 835-4900 poste (7639)
télecopieur          : (418) 835-6657
courrier électronique: gerald.jean at dgag.ca

"In God we trust all others must bring data"  W. Edwards Deming

More information about the ESS-help mailing list