[R-SIG-Mac] Problem with packages after update to R 2.6

Sean Davis sdavis2 at mail.nih.gov
Fri Oct 5 13:16:46 CEST 2007


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?

Sean



More information about the R-SIG-Mac mailing list