I am trying to follow advice here & here, to update the location where R looks for installed packages. I have updated the variable .Library.site
in the /etc/R/Rprofile.site
file to include the location of the intended R package library directory:
Sys.setenv(".Library.site" = "~/AppData/R/x86_64-pc-linux-gnu-library/")
However, when I start up R, and do a .libPaths()
the location is not appended to the list of library locations. Why?