Problem setting .libPaths correctly

Probably related to my last question, I am having a problem setting my .libPaths correctly. In particular, I can't reset the .libPath to my personal package repository. The following shows the output from my RStudio console. In sum, I am unable to change .libPaths(). I get exactly the same sequence using the R 64-bit GUI or the R 32-bit GUI. Oddly, the wierd .libPath[1] seems to point correctly to my private package repository when I load a Windows 10 compiled package. But it seems to confuse the system when I try to load a package from source.

I suppose that it is possible that something in the startup sequence "presets" the .libPath. I will look to see if that is the case if someone would list the files that I should look for. But in any case, I would have thought that setting .libPaths within the Console should work. In sum, something seems to have stuck the .libPaths.

Running up-to-date Windows 10, R 4.0.2, and RStudio 1.3.1056.

Thanks in advance for any help on this problem. Larry Hunsicker

> .libPaths()
[1] "C:/$Recycle.Bin/S-1-5-21-1343024091-1383384898-725345543-277224/$RNTH3XX/Documents/Home/R/win-library/4.0"
[2] "C:/Program Files/R/R-4.0.2/library"                                                                       
> .libPaths('c:\\Users\\hunsickerl\\Documents\\Home\\R\\win-library\\4.0')
> .libPaths()
[1] "C:/$Recycle.Bin/S-1-5-21-1343024091-1383384898-725345543-277224/$RNTH3XX/Documents/Home/R/win-library/4.0"
[2] "C:/Program Files/R/R-4.0.2/library"

Addendum: Scratch the above. I just rebooted the remote desktop and now the funny .libPaths has returned to normal.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.