[R] Problems updating packages

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Sun Dec 8 21:28:06 CET 2013


I recommend using a personal library directory unless you really are an administrator of a computer that multiple users of R use (very unusual for Windows). The install program offers you the opportunity to create an R/win-library/ directory. If you do this and make a habit of never updating "As Administrator" then you won't have to worry about permissions getting screwed up. This strategy actually works quite well on Linux as well, and I imagine would be a good strategy on any OS. The only thing you would need to elevate permissions for is to upgrade R, and Windows UAE will prompt you for that when you run the install.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

Tolga Uzuner <tolga.uzuner at gmail.com> wrote:
>OK thanks. The odd thing is, this just started happening. And I am an
>Admin on my machine.
>
>Or I think I am...hmm, let me check, maybe I did something to my own
>privileges recently by mistake.
>
>Sent from my iPhone
>
>> On 8 Dec 2013, at 01:07 pm, Uwe Ligges
><ligges at statistik.tu-dortmund.de> wrote:
>> 
>> 
>> 
>>> On 08.12.2013 16:37, Tolga Uzuner wrote:
>>> Dear R Users
>>> Ive just uninstalled R and reinstalled from scratch. I then hit
>Update
>>> Packages and get the following message:
>>> 
>>> > update.packages(ask='graphics',checkBuilt=TRUE)
>>> --- Please select a CRAN mirror for use in this session ---
>>> Warning: package 'foreign' in library 'C:/Program
>>> Files/R/R-3.0.2/library' will not be updated
>>> Warning: package 'lattice' in library 'C:/Program
>>> Files/R/R-3.0.2/library' will not be updated
>>> Warning: package 'Matrix' in library 'C:/Program
>>> Files/R/R-3.0.2/library' will not be updated
>>> Warning: package 'mgcv' in library 'C:/Program
>Files/R/R-3.0.2/library'
>>> will not be updated
>>> Warning: package 'nlme' in library 'C:/Program
>Files/R/R-3.0.2/library'
>>> will not be updated
>>> >
>>> 
>>> Why would this be the case ?
>> 
>> You do not have permissions to update packages in that library.
>> 
>> Best,
>> Uwe Ligges
>> 
>> 
>> 
>> 
>>> 
>>> Thanks in advance
>>> 
>>> ______________________________________________
>>> 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.
>
>______________________________________________
>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