[R] error when installing package after installing R-3.1.0 on windows

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Apr 15 15:16:48 CEST 2014



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.
>




More information about the R-help mailing list