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? Moreover, the package also shows up when I use the 'help' parameter in the library command:> library(help=repeated)A window with the list of functions in package repeated appears. Has anyone else had problems with this? I couldn't find anything in the Changes file for 2.0.0 that looked like it would be responsible for this. Thanks for your help with this, Paul Louisell Statistician Pratt & Whitney TechNet: 435-5417 louisept@pweh.com
Where do you think the bug is here? Both the NEWS file (in the very first section) and the rw-FAQ tell you explicitly that packages (sic) have to be reinstalled for 2.0.0. So does the error message you quote. What do you think o Packages must have been re-installed for this version, and library() will enforce this. means? Why do you think the major number has been changed from 1 to 2? Since you are clearly not sure, the FAQ specifically asks you NOT to file a bug report but to ask someone who knows. There are updated Windows builds for Lindsey's `libraries' on his site. On Fri, 12 Nov 2004 paul.louisell@pw.utc.com wrote:> 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? > > Moreover, the package also shows up when I use the 'help' parameter in the > library command: > >> library(help=repeated)Yes, the package is there but it is not valid -- as the error message says. Whatever DO you think the message means?> A window with the list of functions in package repeated appears. Has anyone > else had problems with this? I couldn't find anything in the Changes file > for 2.0.0 that looked like it would be responsible for this. > > Thanks for your help with this, > > > Paul Louisell > Statistician > Pratt & Whitney > TechNet: 435-5417 > louisept@pweh.com > > ______________________________________________ > R-devel@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > >-- Brian D. Ripley, ripley@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
paul.louisell@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@biostat.ku.dk) FAX: (+45) 35327907