[R] unable to move temporary installation of package

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Tue Mar 27 07:15:54 CEST 2018


Perhaps someone here will see something useful if you post the output of the following function calls:

sessionInfo()
.libPaths()
file.info(.libPaths())

and the verbatim (copied) error (in context) that you are seeing. 
-- 
Sent from my phone. Please excuse my brevity.

On March 26, 2018 6:27:10 PM PDT, Paul Lantos <paul.lantos at duke.edu> wrote:
>Thanks Jeff,
>
>So I initially when I got the computer moved my old packages into the
>new directory rather than downloading and installing them again. That
>was fine. I then just did a test to see if I could write in the folder
>and indeed I can. Just not via R.
>
>I uninstalled R Open, installed R 3.4.4, and the problem persisted,
>including just running it from the R console rather than from R Studio.
>
>I haven't done anything (like installations) with administrator rights
>- I just have them. That said I've checked the permissions of the
>library folder and I have all permission. I don't run R in any special
>way.
>
> So I'm not sure where that leaves me... thanks for any suggestions.
>
>Paul
>
>
>
>-----Original Message-----
>From: Jeff Newmiller [mailto:jdnewmil at dcn.davis.ca.us] 
>Sent: Monday, March 26, 2018 5:22 PM
>To: r-help at r-project.org; Paul Lantos <paul.lantos at duke.edu>;
>r-help at r-project.org
>Subject: Re: [R] unable to move temporary installation of package
>
>A) Don't try to "move" packages from one library (=directory of
>installed packages) to another. 
>
>B) Although R Open is very close to CRAN R, it has some differences
>that you REALLY NEED TO READ about at their website. Pay particular
>attention to the checkpoint feature in this case. Note that troubles
>installing it or with the MKL are probably off-topic here, though R
>language questions should still be fair game. 
>
>C) Having Administrator rights carries at least as much responsibility
>to know what you are doing BEFORE you do it as it bestows flexibility
>to get things done. If you used "Run As Administrator" to install R or
>any packages then you have probably set the permissions on your
>personal library inappropriately. If so, you need to use your
>superpowers judiciously to eliminate your personal library completely
>and then run R as a normal user to install/update R packages.
>--
>Sent from my phone. Please excuse my brevity.
>
>On March 26, 2018 12:16:02 PM PDT, Paul Lantos <paul.lantos at duke.edu>
>wrote:
>>I'm running Windows 10 / R Studio / R Open 3.4.3
>>
>>
>>
>>Since getting a new computer recently I cannot install packages into
>my 
>>personal libpath directory, and I can't seem to update packages (it 
>>says all packages are up to date even if I manually install an old 
>>version). I've got 100% admin rights on the computer and in the
>library 
>>folder, I've set my R environment variable to specify the correct 
>>directory, I can freely move things manually in and out of the library
>
>>if needed, and R can read and use any package that's already in there.
>>But I can't install or I get the "unable to move" error.
>>
>>
>>
>>I've uninstalled and reinstalled everything, tried this in non-Studio 
>>sessions using both R Open and regular R 3.4.4, and I get the same 
>>error.
>>
>>
>>
>>Thanks for any help,
>>
>>Paul Lantos
>>
>>
>>_____________________________________________
>>Paul M. Lantos, MD, MS GIS, FIDSA, FAAP, FACP Associate Professor of 
>>Internal Medicine and Pediatrics
>>  Pediatric Infectious Diseases
>>  General Internal Medicine
>>Duke University School of Medicine
>>Duke Global Health Institute
>>_____________________________________________
>>
>>
>>	[[alternative HTML version deleted]]
>>
>>______________________________________________
>>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see 
>>https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailm
>>an_listinfo_r-2Dhelp&d=DwIFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ
>>4adc&r=pCiIbVPBNWU0azo0D48ChUH_fawb-FalNVOf1sUn1r4&m=twuFRS-tVJfQuRzjIS
>>0GBC710QPtmpe1rDy5PNvS-GI&s=OtjN9-16IbB6IqUW1THCx-YX8wccZgBEQmfZY6cuBII
>>&e=
>>PLEASE do read the posting guide
>>https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.org
>>_posting-2Dguide.html&d=DwIFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_g
>>Z4adc&r=pCiIbVPBNWU0azo0D48ChUH_fawb-FalNVOf1sUn1r4&m=twuFRS-tVJfQuRzjI
>>S0GBC710QPtmpe1rDy5PNvS-GI&s=sY7Wm-L9iESeuqa2CevDBwLsBx06RewTYq2-DFg9KM
>>U&e= and provide commented, minimal, self-contained, reproducible
>code.



More information about the R-help mailing list