Re: [R] Unable to Change Library Paths in R 3.5.1 in Windows 10

2018-07-26 Thread Jack Pincus
Thanks to everyone for their answers.  The problem is indeed a Windows problem.  The default setting for document storage in Windows 10 is OneDrive which is Microsoft's cloud storage service.  This seems to be new for Windows 10. (I didn't have this problem running R under Windows 8.1 which

Re: [R] Unable to Change Library Paths in R 3.5.1 in Windows 10

2018-07-26 Thread Leslie Rutkowski
I've run into this problem on nearly every new machine I've touched in the past year. Here is a solution that has consistently worked for me in Windows 7 & 10: 1. Use .libPaths() to find where packages are being stored. 2. To change this path: Control Panel > search “View advanced

Re: [R] Unable to Change Library Paths in R 3.5.1 in Windows 10

2018-07-26 Thread Henrik Bengtsson
Some more info: 1. The library folder have to exist; if not, then R will silently ignore it. 2. Try call your .libPaths(my_new_folder) setup in an interactive R session. Then, in the same session, look at .libPaths(). The first element should be your new folder. If not, make sure it exists,

Re: [R] Unable to Change Library Paths in R 3.5.1 in Windows 10

2018-07-25 Thread Bert Gunter
Pemissions settings on your target directory (which is a Windows not an R issue)?? -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Wed, Jul 25, 2018

[R] Unable to Change Library Paths in R 3.5.1 in Windows 10

2018-07-25 Thread Jack Pincus
I just installed R 3.5.1 on a new Windows 10 computer.  R tries to set a personal library to C:/Users/jackp/OneDrive/Documents/R/win-lib/3.5.  I want to store R packages on my local hard drive, not OneDrive.  I tried placing the line of code:.libPaths(c(.libPaths(),