[R] R doesn't want to update packages (Windows 7)
Dimitri Liakhovitski
dimitri.liakhovitski at gmail.com
Tue Oct 5 14:58:09 CEST 2010
Hello!
I've just installed R 2.11.1 on my new home PC. Just the base R. My PC
has Windows 7.
R was installed in C / Program Files (x86) / R - R-2.11.1
Then - through the menue - I went to Update packages, chose the mirror
and R detected the few packages that needed to be updated. After I
clicked on OK I got the following error message:
> update.packages(ask='graphics')
--- Please select a CRAN mirror for use in this session ---
Warning in install.packages(update[instlib == l, "Package"], l,
contriburl = contriburl, :
'lib = "C:/PROGRA~2/R/R-211~1.1/library"' is not writable
Error in install.packages(update[instlib == l, "Package"], l,
contriburl = contriburl, :
unable to install packages
I've tried several times, then uninstalled R and reinstalled it. Same problem.
Can it be because R is installed in Program Files (x86) and not in
Program Files (I have both folders)?
Thank you!
--
Dimitri Liakhovitski
Ninah Consulting
www.ninah.com
More information about the R-help
mailing list