Help for ESS for Splus6 in Linux
jeff at delphioutpost.com
Thu Aug 16 04:11:42 CEST 2001
From: rmh at surfer.sbm.temple.edu
Date: Wed, 15 Aug 2001 15:10:16 -0400 (EDT)
What do program do you have your *.s files associated with? If you have them
associated with emacs (my guess) then you are starting up a new emacs instance.
For some reason your new emacs is not reading site-start.el or .emacs.
If you have .s files associated with gnuclientw (on windows, using windows
explorer/tools/options/folder options/filetypes) or emacsclient (I think that
is the right name) on unix (and I don't know to make the association) then you
will get a new buffer in the existing instance of emacs.
Note that even if you do the gnuclient/emacsclient (xemacs uses
gnuclient) with Splus options(editor = "gnuclient") you will not get
the default colorization that ESS does for splus because the splus 'fix'
command writes to a tempfile name like "/tmp/fix14715", so you would
have to explicitly change the major mode with m-x S-mode.
In order to do this, you have to do m-x gnuserv-start in your primary
emacs and then set the splus editor option appropriately.
Since you are still getting the message
searching for program: no such file or directory, Splus6."
I wonder if your .emacs is in the correct place. The correct place is
C-x C-f ~/.emacs
If you have it anywhere else then emacs will not find it and therefore not
do the correct initialization. Martin's recommendation to add the line
(setq inferior-S+6-program-name "Splus")
to .emacs assumes that the splus cmd directory is in your PATH. You must make \
sure that it is in the PATH, usually by editing .login or .profile depending
on your shell. Another option is to put the full path to splus in the .emacs,
(setq inferior-S+6-program-name "/complete/path/to/cmd/Splus")
It was me, and yes, thanks for filling in the rest of the details.
The point is that emacs needs to know (using inferior-S+6-program-name)
the splus executable.
ess-help mailing list -- To (un)subscribe, send
subscribe or unsubscribe
(in the "body", not the subject !) To: ess-help-request at stat.math.ethz.ch
More information about the ESS-help