s-news
[Top] [All Lists]

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

To: Henrik Aalborg Nielsen <immhan@student.dtu.dk>
Subject: Re: [S] ESS and S+5Dear S-users,
From: Bill Dunlap <bill@statsci.com>
Date: Mon, 20 Dec 1999 08:55:35 -0800 (PST)
Cc: s-news@wubios.wustl.edu
In-reply-to: <Pine.GSO.4.21.9912171046470.24681-100000@newton.gbar.dtu.dk>
Sender: owner-s-news@wubios.wustl.edu
On Fri, 17 Dec 1999, Henrik Aalborg Nielsen wrote:

> 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.
> ...
> 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
> ...
> 
> 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.

The default value of help's pager= argument in Splus5.1 is
options("help.pager").  Previously it was options("pager")
(shared by the page() command) but when we added links to
the help files a fancier display program was required.

I would not hardwire the name of the pager into that ESS variable
but set options(pager="cat") and options(help.pager="slynx -dump")
at the start of your session and have the inferior-ess-help-command
be help(name, window=F).

I don't know when inferior-ess-help-command is used, but you might
also want to remove the window=F from it.  Its default value is
the value of help.running(), which is T if you have turned on the
windowing help system with help.start() (this is a special X window
in Splus 3.4 and netscape in 5.1).  If you don't like the extra
window just don't fire it up with help.start() and you get window=F
in help().  If you do start it up then inferior-ess-help-command
would use it.  If inferior-ess-help-command is used to force the
help into an emacs buffer then leave window=F.  (You lose the use
of the links in this case, since slynx -dump makes a flat file.)

----------------------------------------------------------------------------
Bill Dunlap                                      22461 Mt Vernon-Big Lake Rd
Data Analysis Products Div. of MathSoft, Inc.    Mount Vernon, WA 98274
bill@statsci.com                                 360-428-8146

"All statements in this message represent the opinions of the author and do
not necessarily reflect MathSoft policy or position."

-----------------------------------------------------------------------
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>