HPC2N
High Performance Computing Center North
.First <- function() { path_to_libraries <- "C:/Users/<username>/R/R-Library" .libPaths(c(path_to_libraries, .libPaths())) }
R will automatically run the .First() function at the start of every R session, and the .libPaths() function call tells R to look first for your R-Library folder whenever it needs to install or access packages.
user_renviron = path.expand(file.path("~", ".Renviron")) file.edit(user_renviron) # open with another text editor if this fails
cmake .. -DRSTUDIO_TARGET=Desktop -DCMAKE_BUILD_TYPE=Release CMAKE_INSTALL_PREFIX=/your/choosen/dir make install