From 2900a13d56879bbe0916fdf634f3e029325fc4e2 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 20 Mar 2023 13:19:27 +0100 Subject: [PATCH] Change the library path. --- jupyter-Rprofile.site | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jupyter-Rprofile.site b/jupyter-Rprofile.site index bbd70ed..96c98c1 100644 --- a/jupyter-Rprofile.site +++ b/jupyter-Rprofile.site @@ -24,9 +24,11 @@ print(paste("If you need some packages permanently installed in Rstudio,")) print(paste("please contact your VRE manager.")) print(paste("R packages may also be installed directly by using the R console.")) print(paste("Those packages can be made permanent installing them into your home directory.")) -print(paste("You have to create a directory, eg '~/R-library/4.1'")) +print(paste("You have to create a directory, eg '~/R_libs/4.1'")) print(paste("and then install the packages in the following way:")) -print(paste("install.packages('pkg_name', lib='~/R-library/4.1')")) +print(paste("install.packages('pkg_name', lib='~/R_libs/4.1')")) +print(paste("Then load it using")) +print(paste("library('pkg_name', lib='~/R_libs/4.1')")) print(paste("Please keep in mind that those packages are only compatible")) print(paste("with the R version they are build against.")) print(paste("***********************************************"))