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

Jack Pincus j@ck@pincu@ @ending from @bcglob@l@net
Wed Jul 25 22:17:14 CEST 2018


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(), "C:/Users/jackp/Documents/R/win-lib/3.5")) at the top of Rprofile located in C:/Program Files/R/R3.5.1/library/base?R but it does not recognize libraries in my personal library.  Any suggestions how to fix this problem.  Also, is there a reason that R tries to default to OneDrive in Windows 10.  I also had a OneDrive folder in Windows 8.1 but could set R to recognize a personal library on C:/Users/jackp/Documents.
Thanks in advance,
Jack
	[[alternative HTML version deleted]]



More information about the R-help mailing list