s-news
[Top] [All Lists]

[S] ESS and S+5Dear S-users,

To: s-news@wubios.wustl.edu
Subject: [S] ESS and S+5Dear S-users,
From: Henrik Aalborg Nielsen <immhan@student.dtu.dk>
Date: Fri, 17 Dec 1999 10:55:44 +0100 (MET)
Sender: owner-s-news@wubios.wustl.edu
Dear S-users,

I am trying to get ESS 5.1.9 (beta version) working with S-PLUS 5.1
under RedHat Linux 6.0 (Emacs version 20.3) and (later) under HP-UX
10.20 (Emacs version 20.5).  I have problems getting the help working
from within ESS (details below).

Please send me an e-mail if you have a solution.  I'd prefer a
solution that allows me to run S-PLUS 3.x and R from within Emacs
also.  I'll summarize to the list.

Regards,
Henrik

--------------------------------------------------------------------------
Henrik Aalborg Nielsen                  
Department of Mathematical Modelling
Section for Statistics                  Fax:    +45 4588 1397
Time Series Group                       Phone:  +45 4525 3418
Technical University of Denmark         E-mail: han@imm.dtu.dk
Building 321, 2800 Lyngby, Denmark      URL:    http://www.imm.dtu.dk/~han
--------------------------------------------------------------------------

DETAILS:

The problem is that ESS use the S-command
help("lm",pager="cat",window=F), to get the help-page for e.g. lm().
In S+5 the pager in help() must(?) be a browser.  In ESS (file
essd-sp5.el) I tried to change

(inferior-ess-help-command     . "help(\"%s\",pager=\"cat\",window=F)\n")

to

(inferior-ess-help-command     . "help(\"%s\",pager=\"slynx 
-dump\",window=F)\n")

but that has no effect!  (I did 'make all' again and I restarted
emacs).  I then added 

(setq inferior-ess-help-command "help(\"%s\",pager=\"slynx 
-dump\",window=F)\\n")

to the end of the definitions of S+5, S+5-mode, and
S+5-transcript-mode also in essd-sp5.el.  This changes
inferior-ess-help-command locally in the buffer running the S-PLUS 5.1
process and help works when the help is called from there.  However,
it does not work in buffers associated with this process (e.g. help
buffers and source code for functions).

I don't like the idea of changing all occurrences of 'cat' to 'slynx
-dump' in the source of ESS 5.1.9 since I think this will prevent me
from running S-PLUS 3.x and R.

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>