[R] Having trouble updating and installing R 3.2.1 and 3.2.2

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Mon Oct 26 14:49:42 CET 2015


I have not used W10, but for quite awhile the *administrator" account (not the hidden one named "Administrator") has merely had the right to "Run As Administrator"... but doing so explicitly is not recommended unless you definitely know what you are doing (in which case you should not be asking for help here). As long as you let the UAC (User Account Control) prompt you at the necessary moments you should not have permissions trouble. If you have followed this advice already then there might be a bug in the installer, but I would have thought I would have seen more complaints by now if it was a bug.
---------------------------------------------------------------------------
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.

On October 26, 2015 6:16:47 AM PDT, Keith S Weintraub <kw1958 at gmail.com> wrote:
>I uninstalled all versions of R on my computer and killed all R
>directories (I think).
>
>I am wondering that since I “upgraded” to Windows 10 is it possible
>that I should create a user separate from the administrator account? My
>previous version of Windows was 7 Home I think. 
>
>Here is a longer version of the error messages that I get.
>
>> install.packages("sm")
>Installing package into ‘C:/Users/Administrator/My
>Documents/R/win-library/3.2’
>(as ‘lib’ is unspecified)
>--- Please select a CRAN mirror for use in this session ---
>Warning: unable to access index for repository
>https://cran.cnr.Berkeley.edu/src/contrib
>Warning: unable to access index for repository
>https://cran.cnr.Berkeley.edu/bin/windows/contrib/3.2
>Warning messages:
>1: In normalizePath(path.expand(path), winslash, mustWork) :
>path[1]="C:/Users/Administrator/My Documents/R/win-library/3.2": Access
>is denied
>2: package ‘sm’ is not available (for R version 3.2.2) 
>
>
>Thanks for your help,
>KW
>
>
>> On Oct 25, 2015, at 7:15 PM, Jeff Newmiller
><jdnewmil at dcn.davis.CA.us> wrote:
>> 
>> I would guess that you ran R as administrator at some point and now
>you have a permissions problem on your user library. I can't say I know
>how to fix it, though using administrator mode to fix the permissions
>is probably hard while using administrator mode to delete the R
>directory and reinstalling your packages might be easier.
>>
>---------------------------------------------------------------------------
>> 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.
>> 
>> On October 25, 2015 7:50:07 AM PDT, Keith S Weintraub
><kw1958 at gmail.com> wrote:
>>> I get the following error:
>>> 
>>> Warning message:
>>> In normalizePath(path.expand(path), winslash, mustWork) :
>>> path[1]="C:\Users\Administrator\My Documents/R/win-library/3.2":
>Access
>>> is denied
>>> 
>>> This may be the first time that I have tried to upgrade R since I
>>> upgraded my Windows installation (on Parallels on my Mac no less) to
>>> Windows 10.
>>> 
>>> Needless to say when I try to install packages outside of core CRAN
>I
>>> have issues.
>>> 
>>> Any help is greatly appreciated.
>>> 
>>> Thanks much,
>>> KW
>>> 
>>> ______________________________________________
>>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>>> 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