[Rd] Inspecting promises

2007-09-23 Thread Gabor Grothendieck
Is there some way of displaying the expression and evaluation environment associated with a promise? I have found the following: > # first run these two commands to set up example > e <- new.env() > delayedAssign("y", x*x, assign.env = e) > # method 1. shows expression but not evaluation envir

Re: [Rd] html help fails for named vector objects (PR#9927)

2007-09-23 Thread Prof Brian Ripley
On Sun, 23 Sep 2007, P Ehlers wrote: > There seems also to be a difference between the way 'help()' and '?' > handle 'topic' in some cases. Yes, that is intentional. I didn't mention it (after deliberation) as the bug report was about help(htmlhelp=TRUE) and not ?. I did mention clarifying th

[Rd] initial scrambling of seed in do_setseed / RNG_Init

2007-09-23 Thread Petr Savicky
I would like to suggest a modification of initial scrambling of the seed in RNG_Init (called from do_setseed). The modified code is equivalent, but faster. Patch against R-devel_2007-09-22 follows --- R-devel-orig/src/main/RNG.c 2007-09-02 07:49:35.0 +0200 +++ R-devel-modif/src/main/RNG.c

Re: [Rd] html help fails for named vector objects (PR#9927)

2007-09-23 Thread P Ehlers
There seems also to be a difference between the way 'help()' and '?' handle 'topic' in some cases. Consider: lm <- "aov" The following all bring up help for 'lm': ?lm ?"lm" help("lm") This opens help for 'aov': help(lm) It seems that "?" doesn't care about quoting, but "help" does. Did I miss s

Re: [Rd] html help fails for named vector objects (PR#9927)

2007-09-23 Thread Prof Brian Ripley
On a normal R help system any version of help(letters) tries to give you help on a, b, etc. This is intentional (although the documentation is unclearly worded), and has been the case since at least R 2.0.0. Some versions of help will display only the first topic. If help(letters, htmlhelp=FALS

Re: [Rd] html help fails for named vector objects (PR#9927)

2007-09-23 Thread ripley
On a normal R help system any version of help(letters) tries to give you help on a, b, etc. This is intentional (although the documentation is unclearly worded), and has been the case since at least R 2.0.0. Some versions of help will display only the first topic. If help(letters, htmlhelp=FALS

Re: [Rd] html help fails for named vector objects (PR#9927)

2007-09-23 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: >help(letters, htmlhelp=TRUE) fails. > > Under the Mac OSX gui, the message is 'Help for the topic "a" was not > found.' Under the version documented below, and under Windows, the > message is > >"No documentation for 'a' in specified packages and libraries:" >