Value of inferior-ess-program

gerald.jean at dgag.ca gerald.jean at dgag.ca
Fri Aug 13 21:01:46 CEST 2004


I am running ess-5.2.2 from Emacs-21.3, on Windows 2000.

sometimes when starting Sqpe from a .s file in ess-mode I'll get the error
"wrong type argument", I noticed when this happens that the ess prompt for
the starting directory was using "splus6" in the name of the executable
rather than "splus62".  After some poking around I found that the value of
"inferior-ess-program" was locally incorrect, here is what Emacs says about
it:

inferior-ess-program's value is
"c:/progra~1/insigh~1/splus6/cmd/Splus.exe"
Local in buffer exemples.s; global value is
"c:/Progra~1/Insigh~1/splus62/cmd/sqpe.exe"

in my .emacs file I have:

 (add-hook 'ess-mode-hook
    (function (lambda()
             (setq-default inferior-S+6-program-name
                       "c:/Progra~1/insigh~1/splus62/cmd/SPLUS")
             (setq-default inferior-Sqpe+6-program-name
                       "c:/Progra~1/Insigh~1/splus62/cmd/sqpe.exe")
             (setq-default inferior-Sqpe+6-SHOME-name
                       "c:/Progra~1/Insigh~1/splus62")
 )))

should I set "inferior-ess-program" in the same manner?  If not what should
I do so its value has the correct version number for Splus?

Thanks and a nice weekend to everyone,

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