[R] Attempt at package documentation on debian: link to "data.frame" broken

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Dec 3 14:21:47 CET 2007


On Mon, 3 Dec 2007, Johannes Graumann wrote:

> Hmmm, I see. This is all local. So there does not seem to be a way to make any
> old R installation that loads the package initialize this functionality, so
> that the help files will be correctly interlinked directly after "require"
> or "library"? How do other packages manage that?

They don't: it is up to the users.  Many users never use HTML help, and 
many do not install in /usr/lib/R/site-library.

>
> Joh
>
> On Monday 03 December 2007 14:08:47 Prof Brian Ripley wrote:
>> On Mon, 3 Dec 2007, Johannes Graumann wrote:
>>> <posted & mailed>
>>>
>>> Prof Brian Ripley wrote:
>>>>> Using non-linked HTML file: style sheet and hyperlinks may be incorrect
>>>>> - which is what happens ... how to switch to "linked HTML file"?
>>>>
>>>> It all works via help.start() (as I did say), at least in a reliable R
>>>> front end.  Running help.start() is how you set this up.
>>>
>>> You are right - naturally. After calling 'help.start()' everything works
>>> just fine. Is there any way one can call 'help.start()' transparently to
>>> the user when s/he accesses the html-help?
>>
>> It is potentially very slow (ca 40 secs on our dept system with 1500
>> NFS-mounted packages) in R 2.6.1.  But you could put utils::help.start()
>> in ~/.Rprofile.
>>
>> In R-devel you will be able to have
>>
>>  	utils:::make.packages.html()
>>
>> in ~/.Rprofile and that takes a few seconds at most.
>
>
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list