[R] help.start() has a faulty link
pdalgd at gmail.com
Mon Sep 1 20:52:27 CEST 2014
On 31 Aug 2014, at 18:19 , Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:
> On 31/08/2014 12:31, Rui Barradas wrote:
>> With 'help.start()' an HTML browser interface to help pops up.
>> In the section 'Miscellaneous Material' if you click on 'User Manuals'
>> an error occurs:
>> Error in vignettes[i, "PDF"] : subscript out of bounds
>> Is this a bug? A missing link?
> We have very little idea: you have not told us the 'at a minumum' information required in the posting guide.
> But it works for me in R 3.1.1: most likely there is a bug in the way you installed R (whatever that was ...). For example, maybe you did not install the vignette PDFs ....
I see it with a default (I think) install of 3.0.2 on OSX (haven't gotten around to upgrading the laptop). Oddly, the Vignettes entry on the Help menu works fine, but the User Manuals entry in the R Help window produces the error. Vignettes installed or not, it doesn't sound like the right message to get.
Poking around: Following
debug: Outfile <- vignettes[i, "PDF"]
File "utils" "Sweave.Rnw"
Title "utils" "Sweave User Manual"
PDF "utils" "Sweave.pdf"
R "utils" "Sweave.R"
chr [1:4, 1:2] "utils" "utils" "utils" "utils" "Sweave.Rnw" ...
- attr(*, "dimnames")=List of 2
..$ : chr [1:4] "File" "Title" "PDF" "R"
..$ : chr [1:2] "Package" ""
which looks like something is up with the construction of the "vignettes" table. Presumably, it wants to be N x 5 with column names "Package" "File" "Title" "PDF" "R", right?
(Followups should likely go to r-devel rather than r-help.)
>> Rui Barradas
>> R-help at r-project.org mailing list
>> PLEASE do read the posting guide
>> and provide commented, minimal, self-contained, reproducible code.
> Brian D. Ripley, ripley at stats.ox.ac.uk
> Emeritus Professor of Applied Statistics, University of Oxford
> 1 South Parks Road, Oxford OX1 3TG, UK
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
More information about the R-help