Reinstallation should solve this, and did for me.
Are you sure you have picked up the reinstalled version and not one in
some other library tree?
library(help=spatstat) will tell you when it was built.
On Tue, 11 May 2004, Rolf Turner wrote:
>
> I've recently (finally!) installed R 1.9.0 on my laptop. Having
> done so I've encountered a mild problem with hypertext links from
> help files in add-on packages to ``native'' R functions. For
example
> if I load the ``spatstat'' package, and ask for help on mpl(), I
can
> see in the browser (I'm using mozilla) a link to glm(). When I click
> on this link I get an error message:
>
> The file /tmp/RtmpLqFtcQ/.R/library/base/html/glm.html
> cannot be found. Please check the location and try
> again.
>
> (Hah!) Well, it's no wonder that it can't be found --- glm() is no
> longer in the base package, but rather in the stats package. So
> the browser should be looking for:
>
> /tmp/RtmpLqFtcQ/.R/library/stats/html/glm.html
>
> The problem arises, I guess, because the package, as it stands, was
> installed using R 1.8.1. The code in ..../spatstat/html/mpl.html
> does indeed point to ../../base/html/glm.html and not to
> ../../stat/html/glm.html as it should.
>
> But when I re-installed spatstat using R 1.9.0, nothing changed
> in this regard.
>
> I presume I could fix things by completely removing the directory
> containiny the installed version of spatstat and then re-installing
> again under R 1.9.0. But this seems a trifle indelicate. Is there
> a more graceful way of handling this problem? Or is there something
> that I should have done which would have kept this problem from
> arising? I had a fairly thorough read of the ``NEWS'' file and
> could find no relevent information.
>
> cheers,
>
> Rolf Turner
> rolf at math.unb.ca
>
> P. S. Version info:
>
> _
> platform i686-pc-linux-gnu
> arch i686
> os linux-gnu
> system i686, linux-gnu
> status
> major 1
> minor 9.0
> year 2004
> month 04
> day 12
> language R
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
>
>
--
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