Re: [Rd] library path in Rd link

2007-11-16 Thread Adrian Dusa
On Wednesday 14 November 2007, Duncan Murdoch wrote: > On 11/14/2007 8:49 AM, Adrian Dusa wrote: > > [...] > > > > Is there a method to create links to functions from the base package, for > > example (which is installed by default in the normal library folder)? > > I believe this is normally autom

Re: [Rd] library path in Rd link

2007-11-15 Thread Adrian Dusa
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

Re: [Rd] library path in Rd link

2007-11-15 Thread Gabor Grothendieck
I think that's right -- it only works on NTFS systems. This page refers to it as an NTFS symbolic link: http://en.wikipedia.org/wiki/NTFS_symbolic_link On Nov 14, 2007 10:00 PM, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 14/11/2007 7:44 PM, Gabor Grothendieck wrote: > > On Nov 14, 2007 4:36 P

Re: [Rd] library path in Rd link

2007-11-15 Thread Prof Brian Ripley
On Thu, 15 Nov 2007, Prof Brian Ripley wrote: > On Thu, 15 Nov 2007, Adrian Dusa wrote: > >> On Thursday 15 November 2007, Prof Brian Ripley wrote: >>> [...] Using as above: \code{\link{anova}} the html help file directs to file:///home/adi/myRlibrary/stats/html/anova

Re: [Rd] library path in Rd link

2007-11-15 Thread Prof Brian Ripley
On Thu, 15 Nov 2007, Adrian Dusa wrote: > On Thursday 15 November 2007, Prof Brian Ripley wrote: >> [...] >>> >>> Using as above: >>> \code{\link{anova}} >>> >>> the html help file directs to >>> file:///home/adi/myRlibrary/stats/html/anova.html >> >> I hope it is actually ../../stats/html/anova.h

Re: [Rd] library path in Rd link

2007-11-14 Thread Duncan Murdoch
On 14/11/2007 7:44 PM, Gabor Grothendieck wrote: > On Nov 14, 2007 4:36 PM, Duncan Murdoch <[EMAIL PROTECTED]> wrote: >> On Unix-alikes, the workaround is to build soft links to all the >> packages in a standard location; but soft links don't work on Windows >> (and we don't want to get into the al

Re: [Rd] library path in Rd link

2007-11-14 Thread Adrian Dusa
On Thursday 15 November 2007, Prof Brian Ripley wrote: > [...] > > > > Using as above: > > \code{\link{anova}} > > > > the html help file directs to > > file:///home/adi/myRlibrary/stats/html/anova.html > > I hope it is actually ../../stats/html/anova.html and the browser is > interpreting that as

Re: [Rd] library path in Rd link

2007-11-14 Thread Gabor Grothendieck
On Nov 14, 2007 4:36 PM, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > > On Unix-alikes, the workaround is to build soft links to all the > packages in a standard location; but soft links don't work on Windows > (and we don't want to get into the almost-undocumented hard links that > exist on some Wi

Re: [Rd] library path in Rd link

2007-11-14 Thread Adrian Dusa
On Thursday 15 November 2007, Duncan Murdoch wrote: > [...] > > I tried using help.start() in .Rprofile, but it throws a (probably > > obvious) error: > > Error: could not find function "help.start" > > That's just because .Rprofile is run before most packages are attached; > you should be able to

Re: [Rd] library path in Rd link

2007-11-14 Thread Adrian Dusa
On Thursday 15 November 2007, Duncan Murdoch wrote: > [...] > > > > I understand, thank you. I learned from Prof. Ripley's answer that > > Windows has link.html.help() function to resolve the html help files from > > all installed packages. > > I didn't know about that; I mainly use the CHMHELP fil

Re: [Rd] library path in Rd link

2007-11-14 Thread Duncan Murdoch
On 14/11/2007 6:44 PM, Adrian Dusa wrote: > On Thursday 15 November 2007, Prof Brian Ripley wrote: >> [...] >>> Using as above: >>> \code{\link{anova}} >>> >>> the html help file directs to >>> file:///home/adi/myRlibrary/stats/html/anova.html >> I hope it is actually ../../stats/html/anova.html an

Re: [Rd] library path in Rd link

2007-11-14 Thread Duncan Murdoch
On 14/11/2007 6:09 PM, Adrian Dusa wrote: > On Wednesday 14 November 2007, Duncan Murdoch wrote: >> On 11/14/2007 8:49 AM, Adrian Dusa wrote: >>> [...] >>> >>> Is there a method to create links to functions from the base package, for >>> example (which is installed by default in the normal library

Re: [Rd] library path in Rd link

2007-11-14 Thread Prof Brian Ripley
On Thu, 15 Nov 2007, Adrian Dusa wrote: > Dear Prof. Ripley, > > On Wednesday 14 November 2007, Prof Brian Ripley wrote: >> On Wed, 14 Nov 2007, Adrian Dusa wrote: >>> Dear all, >>> >>> When creating new functions in a package, there is a "See also" component >>> in the Rd file. >>> Usually one us

[Rd] library path in Rd link

2007-11-14 Thread Adrian Dusa
Dear all, When creating new functions in a package, there is a "See also" component in the Rd file. Usually one uses \link{otherfun}, if the other function is from the same package, or \link[otherpackage]{otherfun} otherwise. The trouble is that I install new packages not in the default R libr

Re: [Rd] library path in Rd link

2007-11-14 Thread Prof Brian Ripley
On Wed, 14 Nov 2007, Adrian Dusa wrote: > > Dear all, > > When creating new functions in a package, there is a "See also" component in > the Rd file. > Usually one uses \link{otherfun}, if the other function is from the same > package, or \link[otherpackage]{otherfun} otherwise. I think you have

Re: [Rd] library path in Rd link

2007-11-14 Thread Duncan Murdoch
On 11/14/2007 8:49 AM, Adrian Dusa wrote: > Dear all, > > When creating new functions in a package, there is a "See also" component in > the Rd file. > Usually one uses \link{otherfun}, if the other function is from the same > package, or \link[otherpackage]{otherfun} otherwise. > > The trouble