Adapt the jupyter Rprofile to jammy
This commit is contained in:
parent
fb53e9fee9
commit
bfdcc7ed55
|
@ -32,14 +32,13 @@ print(paste("If you need some packages permanently installed in Rstudio,"))
|
||||||
print(paste("please contact your VRE manager."))
|
print(paste("please contact your VRE manager."))
|
||||||
print(paste("R packages may also be installed directly by using the R console."))
|
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("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("Please keep in mind that those packages are only compatible"))
|
||||||
print(paste("with the R version they are build against."))
|
print(paste("with the R version they are build against."))
|
||||||
|
print(paste(""))
|
||||||
print(paste("***********************************************"))
|
print(paste("***********************************************"))
|
||||||
|
|
||||||
########### Default mirror site #############################
|
########### 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
|
# 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"])))
|
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")
|
Sys.setlocale(category = "LC_ALL", locale = "en_US.UTF-8")
|
||||||
|
@ -52,3 +51,4 @@ print(paste(""))
|
||||||
# return(storagehub)
|
# return(storagehub)
|
||||||
# }
|
# }
|
||||||
print(paste("Using Locale Encoding:",Sys.setlocale("LC_CTYPE","en_US.UTF-8")));
|
print(paste("Using Locale Encoding:",Sys.setlocale("LC_CTYPE","en_US.UTF-8")));
|
||||||
|
print(paste(""))
|
||||||
|
|
Loading…
Reference in New Issue