[Rd] \link{} to help pages in Debian

Iago Mosqueira imosqueira at suk.azti.es
Wed Dec 1 09:27:25 CET 2004

On Tue, 2004-11-30 at 17:56, Prof Brian Ripley wrote:

> Yes, and it is true as they are all linked to the same tree when 
> help.start is run.  You do need the alternative trees to be in your 
> .libPath() at that time.

My question is then what to do about it from the package maintainer
point of view. I want to ensure that links in help pages work regardless
of library location.

For example, my Debian system shows

> .libPaths()
[1] "/usr/local/lib/R/site-library" "/usr/lib/R/site-library"      
[3] "/usr/lib/R/library"  

So when running R CMD INSTALL I am placing packages by default in
.libPaths()[1], but debian packages get installed in .libPaths()[3]. I
assume this is a Debian package maintainer decision.

Should I use this information in any way for packae installation? Or
should R install routine take care of it? The information in R
administration manual was not clear enough for me, I am afraid.

> Only by default, just as by default they are under Linux, so
> you don't know what happens under either.  Is Windows relevant here
> picture is a lot more complicated there)?

The point of windows was the same package works fine in Windows, in a
default installation with one library.

Many thanks,

iago Mosqueira

More information about the R-devel mailing list