Re: [Rd] library path in Rd link

From: Adrian Dusa <>
Date: Thu, 15 Nov 2007 02:00:49 +0200

On Thursday 15 November 2007, Duncan Murdoch wrote:
> [...]
> >
> > I understand, thank you. I learned from Prof. Ripley's answer that
> > Windows has function to resolve the html help files from
> > all installed packages.
> I didn't know about that; I mainly use the CHMHELP files. They don't
> support this, being precompiled when the binary package is built.
> Another reason to switch.
> The link is probably "../../stats/html/anova.html", and is just being
> displayed by your browser that way. This is correct: R installs soft
> links to all packages in one place. The HTML code doesn't get fixed up
> the way it needs to be on Windows.

It is true, the link was "../../" (my misunderstanding)

> Are you browsing the files from outside of R? As far as I know (and I
> rarely use Unix so this may be out of date info) the links are set up in
> a temporary directoy when you call .libPaths(), and are removed at the
> end of your session. I don't know if calling library(foo,
> lib.loc="mine") is enough to link the foo help into the system.

I use:

I just tried
library(myPackage, lib.loc="myRlibrary")

but I still get

Warning message:
In .show_help_on_topic_as_HTML(file, topic) :   Using non-linked HTML file: style sheet and hyperlinks may be incorrect

so it seems foo help is not linked into the system. But there are (at least on Linux) two more than acceptable solutions:

Best regards,

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

______________________________________________ mailing list
Received on Thu 15 Nov 2007 - 00:03:35 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 15 Nov 2007 - 01:30:17 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.