From bfdcc7ed55aef3afb275160c198c69f3dbf129e0 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 11 Apr 2023 16:01:18 +0200 Subject: [PATCH] Adapt the jupyter Rprofile to jammy --- jupyter-Rprofile.site | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jupyter-Rprofile.site b/jupyter-Rprofile.site index a317306..a1b8a59 100644 --- a/jupyter-Rprofile.site +++ b/jupyter-Rprofile.site @@ -32,14 +32,13 @@ 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 install the packages in the following way:")) -print(paste("install.packages('pkg_name', lib='~/R/x86_64-pc-linux-gnu-library/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("")) print(paste("***********************************************")) ########### Default mirror site ############################# -options(repos = c(CRAN = 'https://packagemanager.rstudio.com/cran/__linux__/focal/latest'), download.file.method = 'libcurl') +options(repos = c(CRAN = 'https://packagemanager.rstudio.com/cran/__linux__/jammy/latest'), download.file.method = 'libcurl') # https://docs.rstudio.com/rspm/admin/serving-binaries/#binaries-r-configuration-linux options(HTTPUserAgent = sprintf("R/%s R (%s)", getRversion(), paste(getRversion(), R.version["platform"], R.version["arch"], R.version["os"]))) Sys.setlocale(category = "LC_ALL", locale = "en_US.UTF-8") @@ -52,3 +51,4 @@ print(paste("")) # return(storagehub) # } print(paste("Using Locale Encoding:",Sys.setlocale("LC_CTYPE","en_US.UTF-8"))); +print(paste(""))