no S4 help under Windows XP

View: New views
6 Messages — Rating Filter:   Alert me  

no S4 help under Windows XP

by Ross Boylan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I installed Goulet's package awhile ago, and am running ESS 5.3.10,
emacs 22.3.1 and R 2.8.1.  I started an R session with M-X R.  I don't
think I've made any customizations to R/ESS.

?setClass
or
?Classes
gets me an empty buffer *help[R](setClass)*.

Could anyone suggest a solution or diagnosis?  (Well, other than my
short-term fix of working in Linux--the data I'll need is on Windows and
needs to stay there).

?sum (for example) pops open a windows help browser, open on the
approprirate function.  That browser only shows the contents of one
package (base in that case).

library(help=methods) gets the expected help in the R session (i.e., in
the same window as the one in which I typed the command).

search() shows methods on the path.

I launched emacs by dragging a .R file onto the emacs icon on my
desktop.

Thanks.
Ross Boylan

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Re: no S4 help under Windows XP

by Ross Boylan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I just installed the latest package,
http://vgoulet.act.ulaval.ca/pub/emacs/emacs-23.1-modified-3.exe,
over my old one.  Same misbehavior.  It has ess 5.5, emacs 23.1.
Ross


On Tue, 2009-10-20 at 13:50 -0700, Ross Boylan wrote:

> I installed Goulet's package awhile ago, and am running ESS 5.3.10,
> emacs 22.3.1 and R 2.8.1.  I started an R session with M-X R.  I don't
> think I've made any customizations to R/ESS.
>
> ?setClass
> or
> ?Classes
> gets me an empty buffer *help[R](setClass)*.
>
> Could anyone suggest a solution or diagnosis?  (Well, other than my
> short-term fix of working in Linux--the data I'll need is on Windows and
> needs to stay there).
>
> ?sum (for example) pops open a windows help browser, open on the
> approprirate function.  That browser only shows the contents of one
> package (base in that case).
>
> library(help=methods) gets the expected help in the R session (i.e., in
> the same window as the one in which I typed the command).
>
> search() shows methods on the path.
>
> I launched emacs by dragging a .R file onto the emacs icon on my
> desktop.
>
> Thanks.
> Ross Boylan
>

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Re: no S4 help under Windows XP

by Stephen Eglen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I installed Goulet's package awhile ago, and am running ESS 5.3.10,
> emacs 22.3.1 and R 2.8.1.  I started an R session with M-X R.  I don't
> think I've made any customizations to R/ESS.
>
> ?setClass
> or
> ?Classes
> gets me an empty buffer *help[R](setClass)*.
>
> Could anyone suggest a solution or diagnosis?  (Well, other than my
> short-term fix of working in Linux--the data I'll need is on Windows and
> needs to stay there).

hi Ross, can I just confirm -- you find that

?setClass

works on linux

but not on windows?

Does life get any easier if you add:

(setq inferior-ess-r-help-command "help(\"%s\", htmlhelp=TRUE)\n")

to your .emacs which should then start help windows in a web browser?

Stephen

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Re: no S4 help under Windows XP

by Erik Iverson-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

FYI, ?setClass works for me on both Windows and Solaris using GNU
Emacs 22 (not vincent goulet's) and ESS 5.4.

On Tue, Oct 20, 2009 at 4:32 PM, Stephen Eglen
<S.J.Eglen@...> wrote:

>> I installed Goulet's package awhile ago, and am running ESS 5.3.10,
>> emacs 22.3.1 and R 2.8.1.  I started an R session with M-X R.  I don't
>> think I've made any customizations to R/ESS.
>>
>> ?setClass
>> or
>> ?Classes
>> gets me an empty buffer *help[R](setClass)*.
>>
>> Could anyone suggest a solution or diagnosis?  (Well, other than my
>> short-term fix of working in Linux--the data I'll need is on Windows and
>> needs to stay there).
>
> hi Ross, can I just confirm -- you find that
>
> ?setClass
>
> works on linux
>
> but not on windows?
>
> Does life get any easier if you add:
>
> (setq inferior-ess-r-help-command "help(\"%s\", htmlhelp=TRUE)\n")
>
> to your .emacs which should then start help windows in a web browser?
>
> Stephen
>
> ______________________________________________
> ESS-help@... mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Re: no S4 help under Windows XP

by Ross Boylan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-10-20 at 22:32 +0100, Stephen Eglen wrote:

> > I installed Goulet's package awhile ago, and am running ESS 5.3.10,
> > emacs 22.3.1 and R 2.8.1.  I started an R session with M-X R.  I don't
> > think I've made any customizations to R/ESS.
> >
> > ?setClass
> > or
> > ?Classes
> > gets me an empty buffer *help[R](setClass)*.
> >
> > Could anyone suggest a solution or diagnosis?  (Well, other than my
> > short-term fix of working in Linux--the data I'll need is on Windows and
> > needs to stay there).
>
> hi Ross, can I just confirm -- you find that
>
> ?setClass
>
> works on linux
>
> but not on windows?
Correct.
>
> Does life get any easier if you add:
>
> (setq inferior-ess-r-help-command "help(\"%s\", htmlhelp=TRUE)\n")
No.  It doesn't get any harder either: the help that worked before still
works after the change.

I verified that the settings in my .emacs files are being read in; I
wasn't entirely sure where emacs thought home was under Windows.

>
> to your .emacs which should then start help windows in a web browser?
The thing that starts doesn't look like a web browser, though it
probably is underneath.  It's the standard MS Windows help window, with
tabs for contents, index, and search.

I looked under the installation of R.
doc\html\search\index.txt has
Entry: setClass
Aliases: setClass
Keywords: programming classes methods
Description: Create a Class Definition
URL: ../../../library/methods/html/setClass.html

and that last file exists and the contents look fine.

Ross

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Parent Message unknown no S4 help under Windows XP

by Douglas Bates-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I forgot to cc: the list on this reply.


---------- Forwarded message ----------
From: Douglas Bates <bates@...>
Date: Wed, Oct 21, 2009 at 8:46 AM
Subject: Re: [ESS] no S4 help under Windows XP
To: Stephen Eglen <S.J.Eglen@...>


On Tue, Oct 20, 2009 at 4:32 PM, Stephen Eglen
<S.J.Eglen@...> wrote:

>> I installed Goulet's package awhile ago, and am running ESS 5.3.10,
>> emacs 22.3.1 and R 2.8.1.  I started an R session with M-X R.  I don't
>> think I've made any customizations to R/ESS.
>>
>> ?setClass
>> or
>> ?Classes
>> gets me an empty buffer *help[R](setClass)*.
>>
>> Could anyone suggest a solution or diagnosis?  (Well, other than my
>> short-term fix of working in Linux--the data I'll need is on Windows and
>> needs to stay there).
>
> hi Ross, can I just confirm -- you find that
>
> ?setClass
>
> works on linux
>
> but not on windows?
>
> Does life get any easier if you add:
>
> (setq inferior-ess-r-help-command "help(\"%s\", htmlhelp=TRUE)\n")
>
> to your .emacs which should then start help windows in a web browser?

Not to hijack the thread but the default inferior-ess-r-help-command
fails under R-devel (2.11.0 development version) where the arguments
to 'help' are

> args("help")
function (topic, package = NULL, lib.loc = NULL, verbose =
getOption("verbose"),
   try.all.packages = getOption("help.try.all.packages"), help_type =
getOption("help_type"))
NULL

It gets a bit tricky to decide what expression you should use for a
...r-help-command when

help("help")

fails.

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help