[Rd] library path in Rd link
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Nov 15 08:22:09 CET 2007
On Thu, 15 Nov 2007, Adrian Dusa wrote:
> On Thursday 15 November 2007, Prof Brian Ripley wrote:
>>> Using as above:
>>> the html help file directs to
>> I hope it is actually ../../stats/html/anova.html and the browser is
>> interpreting that as a full URL.
>>> instead of
>> But at run time help.start() creates links into a subdirectory of
>> tempdir(). As in
> I got it.
> Perhaps it would be useful to have another startup option, something like:
> that one could use in the .First() function from .Rprofile
You could have a function to run there, essentially (from help.start())
paste(tempdir(), paste(.libPaths(), collapse = " ")))
and perhaps (it is a lot slower)
The problem is that even the first can be slow on a network-mounted file
system with a lot of packages installed, do we don't want to do it by
> I tried using help.start() in .Rprofile, but it throws a (probably obvious)
> Error: could not find function "help.start"
Duncan has answered that.
> For my personal purposes, all questions have been answered though.
> Thank you very much,
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-devel