Message-ID: <47061D1E.1050502@mail.nih.gov>
Date: 2007-10-05T11:16:46Z
From: Sean Davis
Subject: Problem with packages after update to R 2.6
In-Reply-To: <D83EAB44-086B-4662-908F-D6BA42A1CED5@virginia.edu>
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