Skip to main content
Improve formatting
Source Link
tzabal
  • 451
  • 5
  • 5

On Ubuntu, the recommended wayrecommended way of changing the default library path for a user, is to set the R_LIBS_USER variable in the ~/.Renviron file. [1]

touch ~/.Renviron
echo "R_LIBS_USER=/absolute/custom/path"path/in/absolute/form" >> ~/.Renviron

[1] https://cran.r-project.org/bin/linux/ubuntu/README.html#pathways-to-r-packages

On Ubuntu, the recommended way of changing the default library path for a user, is to set the R_LIBS_USER variable in the ~/.Renviron file. [1]

touch ~/.Renviron
echo "R_LIBS_USER=/absolute/custom/path" >> ~/.Renviron

[1] https://cran.r-project.org/bin/linux/ubuntu/README.html#pathways-to-r-packages

On Ubuntu, the recommended way of changing the default library path for a user, is to set the R_LIBS_USER variable in the ~/.Renviron file.

touch ~/.Renviron
echo "R_LIBS_USER=/custom/path/in/absolute/form" >> ~/.Renviron
Source Link
tzabal
  • 451
  • 5
  • 5

On Ubuntu, the recommended way of changing the default library path for a user, is to set the R_LIBS_USER variable in the ~/.Renviron file. [1]

touch ~/.Renviron
echo "R_LIBS_USER=/absolute/custom/path" >> ~/.Renviron

[1] https://cran.r-project.org/bin/linux/ubuntu/README.html#pathways-to-r-packages