Linda Peng
2014-Apr-15 01:25 UTC
[R] error when installing package after installing R-3.1.0 on windows
Hi, I encountered following error" Warning in install.packages("xlsx") : 'lib = "C:/Program Files/R/R-3.1.0/library"' is not writable". This is right after I installed R-3.1.0 on windows after previous R-2.15.2 which is still existing. I checked the folder permission and it doesn't have read-only set. Did anybody experienced the same or have suggestions what to check or fix? Thanks for the help, Linda [[alternative HTML version deleted]]
Uwe Ligges
2014-Apr-15 13:16 UTC
[R] error when installing package after installing R-3.1.0 on windows
On 15.04.2014 03:25, Linda Peng wrote:> Hi, > > I encountered following error" Warning in install.packages("xlsx") : 'lib = "C:/Program Files/R/R-3.1.0/library"' is not writable". This is right after I installed R-3.1.0 on windows after previous R-2.15.2 which is still existing.If you want to install into that libvrary, you need administrator permissions, i.e. start R via right click and "Start as Administrator". Otehrwise install into a personal library. Best, Uwe Ligges> I checked the folder permission and it doesn't have read-only set. Did anybody experienced the same or have suggestions what to check or fix? > > Thanks for the help, > > Linda > [[alternative HTML version deleted]] > > > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >