Problem with packages after update to R 2.6
On Oct 5, 2007, at 7:16 AM, Sean Davis wrote:
Michael Kubovy wrote:
Dear R-Mac people, After successfully updating R and JGR on Hardware Overview: Model Name: Mac Pro Model Identifier: MacPro1,1 Processor Name: Dual-Core Intel Xeon System Software Overview: System Version: Mac OS X 10.4.10 (8R2232) Kernel Version: Darwin 8.10.1 I followed Ripley's advice to
> update.packages(checkBuilt=TRUE, ask=FALSE)
I then realized that I did not have any of the packages beyond the default. So I ran
> install.packages
('car','Hmisc','doBy','lme4','gmodels','gplots','gdata')
Warning in install.packages("car", "Hmisc", "doBy", "lme4",
"gmodels", "gplots", :
'lib = "Hmisc"' is not writable
Would you like to create a personal library
'~/R/i386-apple-darwin8.10.1-library/2.6'
to install packages into? (y/n) y
Error in available[, "Bundle"] : incorrect number of dimensions
> install.packages
('car','Hmisc','doBy','lme4','gmodels','gplots','gdata')
Warning in install.packages("car", "Hmisc", "doBy", "lme4",
"gmodels", "gplots", :
'lib = "Hmisc"' is not writable
Error in install.packages("car", "Hmisc", "doBy", "lme4",
"gmodels", "gplots", :
unable to install packages
Try making the list of packages into a character vector:
install.packages(c
('car','Hmisc','doBy','lme4','gmodels','gplots','gdata'))
Does that work for you?
Good point. My error.
But there are packages that won't install even if I install them one
by one. Hmisc is an example.
More importantly:
1. what caused R's amnesia about all of my non-default packages upon
upgrade?
2. why didn't
update.packages(checkBuilt=TRUE, ask=FALSE)
work?
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400 Charlottesville, VA 22904-4400
Parcels: Room 102 Gilmer Hall
McCormick Road Charlottesville, VA 22903
Office: B011 +1-434-982-4729
Lab: B019 +1-434-982-4751
Fax: +1-434-982-4766
WWW: http://www.people.virginia.edu/~mk9y/