[ESS] R - Help buffer - new information

gerald.jean at dgag.ca gerald.jean at dgag.ca
Tue Oct 21 16:44:06 CEST 2008


Hello there,

after I sent the last message I killed Emacs and restarted it with the "-q"
option (no .emacs file); then I manually loaded ess-site and then started
R.  Now if I do C-c C-v to get help on a function I do get the help in an
Emacs buffer.  I think this is sufficient to conclude that the problem lies
in my initialization file.  Over the years I collected a lot of stuff in
there, I probably won't be easy to find the culpright, but that is my
problem.

Thanks to Stephen and Martin for their help, and also to all contributors
for such a good package,

Gérald

ess-help-bounces at stat.math.ethz.ch a écrit sur 2008/10/21 05:01:08 :

> >>>>> "gj" == gerald jean <gerald.jean at dgag.ca>
> >>>>>     on Mon, 20 Oct 2008 11:44:04 -0400 writes:
>
>     gj> ess-help-bounces at stat.math.ethz.ch a écrit sur 2008/10/20
11:07:29 :
>
>     >> gerald.jean at dgag.ca wrote:
>     >>
>     >> > But when I run R through ESS, C-c C-v will still prompt
>     >> > me for a help topic but when I type a topic what shows
>     >> > up in the *help[R] fct. name* buffer is:
>     >> >
>     >> > Error in help("glm", pager = "slynx -dump", window = F) :
>     >> >   unused argument(s) (window = FALSE)
>     >> >
>     >> > I tried setting the "pager" and the "help.pager"
>     >> > options to "emacsclient", as they are when running
>     >> > Splus but to no avail, I still get the same error.
>     >>
>     >> hmmm... there may be leakage from the lisp code for splus help
into the
>     >> lisp code  for R help help; R shouldn't need the pager to be
> set, and so
>     >> seeing pager = 'sylnx -dump' is the probable cause of the error.
>     >>
>     >> Can you try a new emacs session, start R and then try C-c
>     >> C-v?  (i.e. don't start S).  Also, take out any settings
>     >> for pager and help.pager from your .emacs, if it still
>     >> doesn't work.
>
>     gj> I restarted Emacs, did not start Splus and started R: same result
as
>     gj> before.
>
>     gj> I am not seeing any settings for "pager" and "help.pager" inmy
.emacs?
>
> In any case, the  'pager = "slynx -dump"'  part is definitely
> the culprit and it definitely is a leak from "S+ code for ESS"
> (I'm pretty sure I had added to ESS aeons ago).
>
> So, something in your Emacs initialization (typically inside
> ~/.emacs, but there are other possibilities) is the culprit.
>
> Try the following:
>
> 1) Start Emacs
> 2) M-x R
> 3) C-h v ess-customize-alist
>
> Should give about 20 lines of output in a *Help* buffer.
> One of these 20+ lines is particularly interesting; for me it is
>
>  (inferior-ess-help-command . "help(\"%s\", htmlhelp=FALSE)\n")
>
> and I bet that for you, it will contain the ominous "slynx ..."
> part.
> yes ?
>
> Martin
>
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help



Le message ci-dessus, ainsi que les documents l'accompagnant, sont destinés
uniquement aux personnes identifiées et peuvent contenir des informations
privilégiées, confidentielles ou ne pouvant être divulguées. Si vous avez
reçu ce message par erreur, veuillez le détruire.

This communication ( and/or the attachments ) is intended for named
recipients only and may contain privileged or confidential information
which is not to be disclosed. If you received this communication by mistake
please destroy all copies.



More information about the ESS-help mailing list