
Search paths for packages are paths where R search/install/uninstall packages. "C:/Users/NIU/Documents/R/win-library/3.5"
R_LIBS_SITE, a colon-separated list of directoriesīy default R_LIBS and R_LIBS_SITE are unset, and R_LIBS_USER is set to directory R/R.version$platform-library/x.y of the home directory (or Library/R/x.y/library for CRAN macOS builds), for R.x.y.z. R_LIBS_USER, a colon-separated list of directories.
R_LIBS, a colon-separated list of directories. "/home/niuyw/software/R.3.5.3/lib64/R"Ĭurrent working directory. This can be got from R.home() or Sys.getenv('R_HOME'). R_HOME, the directory in which R is installed. This can be got from path.expand('~') or Sys.getenv('HOME'). Variables for important directories for R. These variables are not the same as variables of the system (like those in. There are several basic enrionment variables for R. make it easy to manage your R enrionment. make it easy to set or change the configurations (saving time). There are several advantages of doing this: Basic R configurationīefore we start talking about installing packages, it would be better to do some basic configuration relating to the R library. #Watchtower library update package 1710 for mac mac os
Note: I mainly work under CentOS and Windows environment, so, I am not familiar with Mac OS system. Purpose in short: to ease the pain when installing/updating R and R packages.