Thanks. I got it right now. The reason is that I am using a 2.8.1 version of R, which seems causing trouble with the installation.
After I updated my R to 2.10.x, everything works great now. best, senlin 2010/1/19 Uwe Ligges <lig...@statistik.tu-dortmund.de> > > > On 19.01.2010 03:42, Rolf Turner wrote: > >> >> On 19/01/2010, at 11:24 AM, Senlin Liang wrote: >> >> Hi, >>> >>> I tried to install spatstat using: >>> install.packages("spatstat", dependencies = TRUE, lib = >>> "./R/i486-pc-linux-gnu-library/2.8") >>> >>> but got the following msg: >>> >>> --- Please select a CRAN mirror for use in this session --- >>> <here i selected one mirror, and tried several mirrors) >>> Loading Tcl/Tk interface ... done >>> Warning message: >>> In install.packages("spatstat", dependencies = TRUE, lib = >>> "./R/i486-pc-linux-gnu-library/2.8") : >>> package âspatstatâ is not available >>> >>> >>> any idea why i am getting this error? >>> >> >> The error message is puzzling; spatstat is certainly available. >> > > > Perhaps the PAKAGES file was rewritten in the second you tried to install - > or you are using a corrupted mirror. > > Hence please tell us which mirror you are using in which OS with which > version of R. > > Best, > Uwe Ligges > > > > > However you should be getting a ***warning*** message about being >> unable to ``rename'' <stuff>/spatstat. >> >> The somewhat mysterious cause of such warnings is that it is >> necessary to supply an *absolute* pathname for ``lib'' rather >> than a relative pathname as you have done. I was flummoxed by >> this for decades; very recently Simon Urbanek (thank you again >> Simon) pointed out to me the error of my ways. >> >> Try something like: >> >> xlib <- paste(getwd(),"/R/i486-pc-linux-gnu-library/2.8",sep="/") >> install.packages("spatstat",dependencies=TRUE,lib=xlib) >> >> and see how you go. >> >> cheers, >> >> Rolf Turner >> ###################################################################### >> Attention: This e-mail message is privileged and confidential. If you >> are not the intended recipient please delete the message and notify the >> sender. Any views or opinions presented are solely those of the author. >> >> This e-mail has been scanned and cleared by MailMarshal >> www.marshalsoftware.com >> ###################################################################### >> >> ______________________________________________ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> > -- Senlin Liang (575) 571-0638 [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.