I\'m trying to get R to ignore c:\\users\\name\\documents and be completely self-contained/portable
Here\'s my directory structure:
.../R/R-2.1.2.2/.
I used the Rprofile.site file in [your R installation path]\etc and added the following lines to make C:/R/library my default library location each time R is launched:
# set a site library
.Library.site <- file.path("C:/R/library")
.libPaths(.Library.site)
I tried the other answers here but none of them worked with R 2.13.1 on Windows 7 64.