[Rd] Loading libraries in 2.0.0 (PR#7364)

Peter Dalgaard p.dalgaard at biostat.ku.dk
Fri Nov 12 23:54:54 CET 2004


paul.louisell at pw.utc.com writes:

> I'm using version 2.0.0 of R on a Windows 2000 OS. Packages that I installed
> in 1.9.1 are not installing properly in 2.0.0. Specifically, I can install
> packages from local zip files with the following code (which I execute
> through the GUI):
> 
> > install.packages(choose.files('',filters=Filters[c('zip','All'),]),
> .libPaths()[1], CRAN = NULL)
> updating HTML package descriptions
> > install.packages(choose.files('',filters=Filters[c('zip','All'),]),
> .libPaths()[1], CRAN = NULL)
> updating HTML package descriptions
> 
> The packages do show up in the html help files after installing them. But
> the packages won't load when I use the library command:
> 
> > library(repeated)
> Error in library(repeated) : 'repeated' is not a valid package -- installed
> < 2.0.0?

Notice that "installed" actually means "built as binary" here, since
zip files are mostly just unpacked into place, and the install step is
done prior to packaging. So you should take the error message as a
hint to get a newer zip file (available from the same place).

This is not a bug.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907



More information about the R-devel mailing list