[ESS] ESS-mode fails to start S-Plus in Linux
Vitalie Spinu
@pinuvit @ending from gm@il@com
Mon Nov 19 21:42:53 CET 2018
Hmm. I see the same. There is indeed too much windows machinery in that code. I
am afraid 18.10 is pretty broken regarding Splus functionality. Even ess-remote
doesn't work.
At the moment ESS is being heavily trimmed and most of the old S+ code is
gone, but it seem to work. Is trying master from git an option for you?
Starting Splus in the shell and then doing M-x ess-remote should at least give
you some basic evaluation capabilities.
Vitalie
>> On Mon, Nov 19 2018 14:20, Kim Pilegaard wrote:
> Dear Vitalie,
> OK, I find out how to get the debugger output:
> Debugger entered--Lisp error: (error "The emacs variable ‘inferior-S+-program’ does
> not point to S-Plus 6 or 7 or 8. Please add ‘splus[678]?/cmd’ (expand the
> ‘[678]?’ to match your setup) to your ‘exec-path’ or specify the complete
> path to ‘Splus.exe’ in the variable ‘inferior-S+-program’ in your
> ‘.emacs’ file.")
> signal(error ("The emacs variable ‘inferior-S+-program’ does\nnot point to S-Plus 6 or 7 or 8. Please add ‘splus[678]?/cmd’ (expand the\n‘[678]?’ to match your setup) to your ‘exec-path’ or specify the complete\npath to ‘Splus.exe’ in the variable ‘inferior-S+-program’ in your\n‘.emacs’ file."))
> error("The emacs variable `inferior-S+-program' does\nnot point to S-Plus 6 or 7 or 8. Please add `splus[678]?/cmd' (expand the\n`[678]?' to match your setup) to your `exec-path' or specify the complete\npath to `Splus.exe' in the variable `inferior-S+-program' in your\n`.emacs' file.")
> S()
> funcall-interactively(S)
> call-interactively(S record nil)
> command-execute(S record)
> execute-extended-command(nil "S" "S")
> funcall-interactively(execute-extended-command nil "S" "S")
> call-interactively(execute-extended-command nil nil)
> command-execute(execute-extended-command)
> Kind regards,
> Kim
> On 19/11/2018, 15:15 , "Kim Pilegaard" <kipi using env.dtu.dk> wrote:
> Dear Vitalie,
> I assume you mean, when running with ess-18.10.
> The value of ´inferior-S+-program is´ "Splus".
> The error I get is:
> S: The emacs variable ‘inferior-S+-program’ does
> not point to S-Plus 6 or 7 or 8. Please add ‘splus[678]?/cmd’ (expand the
> ‘[678]?’ to match your setup) to your ‘exec-path’ or specify the complete
> path to ‘Splus.exe’ in the variable ‘inferior-S+-program’ in your
> ‘.emacs’ file.
> Looks like ess thinks I am running under windows and not Linux. I am running Linux in a virtualbox under Mac OSX.
> When executing M-x toggle-debug-on-error RET, I just get the message:
> Debug on Error enabled globally
> Many thanks for your help,
> Kim
> On 19/11/2018, 14:22 , "Vitalie Spinu" <spinuvit using gmail.com> wrote:
> Hi Kim,
> What is the value of inferior-S+-program and what is the exact error that you
> get? Could you please provide the traceback (M-x toggle-debug-on-error RET).
> Vitalie
> >> On Sat, Nov 17 2018 09:08, Kim Pilegaard via ESS-help wrote:
> > When trying to start S-plus 6.2.1 for linux using Emacs 25.2.1 lucid and ess-17.11.2 under Elementary OS 5.0 (based on Ubuntu 18.04 LTS), I get the following error:
> > ess-command: Wrong number of arguments: #[(com &optional buf sleep) "Á!" [com ess-eval-linewise] 2
> > ("/usr/share/emacs25/site-lisp/ess/ess-dde.elc" . 4843)], 7
> > It seems that an S+ process is running, but when I try to issue a command, I get this error:
> > ess-get-process: No ESS process is associated with this buffer now
> > I tried with ess-18.10, but got another error telling that it could not find the
> > Splus program. The executable is /usr/local/bin/Splus which is covered by both
> > PATH and exec-path. There are no problems running R with either of the ess
> > versions.
> > How do I fix it?
> > Kind regards,
> > Kim
> > Kim Pilegaard
> > Professor, Head of Section
> > Air, Land, and Water Resources
> > DTU Environment
> > Technical University of Denmark
> > Department of Environmental Engineering
> > Bygningstorvet, Building 115
> > 2800 Kongens. Lyngby
> > Denmark
> > Mobile +45 4025 6839
> > kipi using env.dtu.dk<mailto:kipi using kt.dtu.dk>
> > www.env.dtu.dk<http://www.kt.dtu.dk/>
> > http://orcid.org/0000-0002-5169-5717
> > [[alternative HTML version deleted]]
> > ______________________________________________
> > ESS-help using r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/ess-help
More information about the ESS-help
mailing list