Réf. : [ESS] Running Multiple Splus versions on a Unix machine.
gerald.jean at dgag.ca
gerald.jean at dgag.ca
Thu Sep 22 20:20:18 CEST 2005
Hello everyone,
I got only one reply to my message, maybe no-one is under Solaris anymore?
Anyway I found, a non-elegant, solution to my problem.
my elisp skills being very, very limited and realizing that the S+3
function was still defined I tried to mimick what I had in my .emacs so
"M-x S+6" would find the required version of S+, i.e. the 64-bit version of
Splus6.2. Hence I now have in my .emacs:
(add-hook 'ess-mode-hook
(function (lambda()
(setq-default inferior-S+6-program-name
"/actuaria/splus_app64/bin/Splus64")
(setq-default inferior-S+3-program-name
"/actuaria/splus7_app/bin/Splus7")
(setq ess-ask-for-ess-directory nil)
.
.
.
Now "M-x S+3" starts Splus 7.0.3 and "M-x S+6" starts the other version,
furthermore I can have both running at the same time in ESS.
A more elegant solution would be welcome,
Gérald Jean
Conseiller senior en 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
gerald.jean at dgag.ca
Envoyé par : Pour : ESS-help at stat.math.ethz.ch
ess-help-bounces at stat.m cc :
ath.ethz.ch Objet : [ESS] Running Multiple Splus versions on a Unix
machine.
2005/09/20 10:15
Hello,
I am running ESS-5.2.10 from Emacs 21.1.1 on Solaris. Through it I am
mostly running a 64-bit version of S+6.2 but I also have S+7.0.3 installed
on the machine and would like to be able to run it through ESS, so far no
luck though! I also have both versions of S+ on my PC (32-bit of course
for 6.2) as well and it was pretty easy to set ESS to run both, having the
variable "ess-SHOME-versions" set properly two functions were created on
start up, "splus62" and "splus70" and each one runs the appropriate version
of S+.
Setting "ess-SHOME-versions" on Unix' Emacs didn't help. I tried to set it
in two ways:
1) (custom-set-variables '(ess-SHOME-versions
'("/actuaria/splus_app64"
"/actuaria/splus7_app")))
2) (setq ess-SHOME-versions '
("/actuaria/splus_app64""/actuaria/splus7_app"))
before (require 'ess-site) in both cases. The variable gets actually set
but if I go in Ess ---> Start Process ---> Other, I have: "No other R or
Sqpe versions".
In the info node "Inferior ESS processes" I see instructions for "R on Unix
systems", "R on Windows systems" and "Sqpe on Windows systems" no
instructions for "Sqpe on Unix systems"?
A while ago when I was running a beta version of S+7 Rich Heiberger
suggested to comment out in my .emacs:
(setq-default inferior-S+6-program-name
"/actuaria/splus_app64/bin/Splus64")
and replace it by:
(setq-default inferior-S+6-program-name
"/actuaria/splus7_app/bin/Splus7")
it works but it is pretty cumbersome to have to go in the .emacs file each
time one wants to run a different version, furthermore it doesn't allow to
run them simultaneously.
Any clues as how this can be done?
Thanks,
Gérald Jean
Conseiller senior en 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
______________________________________________
ESS-help at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help
More information about the ESS-help
mailing list