'sp' for 3.2.1
On Mon, 30 Oct 2006, Barry Rowlingson wrote:
Roger Bivand wrote:
For which OS/platform? All source packages are archived on CRAN: http://cran.r-project.org/src/contrib/Archive and binary packages from CRAN (Windows, various Mac OSX) are in versioned directory trees, so R 2.3.1 will choose the 2.3 directory for the latest version of the package compatible with it.
Do you have to tell install.packages() about this, because with R 2.3.0 I get:
> install.packages("sp",lib="~/Rlibs")
Warning in download.packages(pkgs, destdir = tmpd, available =
available, :
no package 'sp' at the repositories
I do not think that install.packages() can handle this itself. It looks as though a combination of download.file() and install.packages() as shown in its example could do it (with repos=NULL), but the url in the Archives would have to be chosen by hand. Roger
Barry
Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: Roger.Bivand at nhh.no