From dusa.adrian at gmail.com  Thu Nov 15 11:51:40 2007
From: dusa.adrian at gmail.com (Adrian Dusa)
Date: Thu, 15 Nov 2007 12:51:40 +0200
Subject: [Rd] library path in Rd link
In-Reply-To: <Pine.LNX.4.64.0711150905060.25358@gannet.stats.ox.ac.uk>
References: <200711141549.54176.dusa.adrian@gmail.com>
	<Pine.LNX.4.64.0711150658040.11152@gannet.stats.ox.ac.uk>
	<Pine.LNX.4.64.0711150905060.25358@gannet.stats.ox.ac.uk>
Message-ID: <200711151251.41034.dusa.adrian@gmail.com>

On Thursday 15 November 2007, Prof Brian Ripley wrote:
> [...]
> >>>> help.start()
> >>
> >> I got it.
> >> Perhaps it would be useful to have another startup option, something
> >> like: options(htmlLinksResolve=TRUE)
> >>
> >> that one could use in the .First() function from .Rprofile
> >
> > You could have a function to run there, essentially (from help.start())
> >
> >     .Script("sh", "help-links.sh",
> >             paste(tempdir(), paste(.libPaths(), collapse = " ")))
> >
> > and perhaps (it is a lot slower)
> >
> >     utils::make.packages.html()
>
> It transpires that currently you do need both: although the script is
> passed the library locations it does not make use of them, leaving the
> linking to make.packages.html.  (That used not to be the case.)
>
> > 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
> > default.
>
> So speed is the problem: I am seeing about 4 secs on a system with 1450
> packages on the local disc, and 33 secs on a slower system with
> network-mounted FS.

Completely understandable, it's not going to be automatic. Users who don't 
suffer from these restrictions could manually make use of the script.

Thank you very much,
Adrian


-- 
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
          +40 21 3120210 / int.101



[Rd] library path in Rd link
Adrian Dusa