From c6499ee8a8eb9e87917106ae5184b75eca4089dc Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 23 May 2022 16:36:15 +0200 Subject: [PATCH] New Rprofile.site meant to the dockerized rstudio. --- container-Rprofile.site | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 container-Rprofile.site diff --git a/container-Rprofile.site b/container-Rprofile.site new file mode 100644 index 0000000..56f6507 --- /dev/null +++ b/container-Rprofile.site @@ -0,0 +1,29 @@ +########### Default mirror site ############################# +local({r <- getOption("repos") + r["CRAN"] <- "https://cran.mirror.garr.it/mirrors/CRAN/" + options(repos=r) +}) + +Sys.setlocale(category = "LC_ALL", locale = "en_US.UTF-8") + +print(paste("Please read the following instructions to maximise the exploitation of the RStudio environment.")) + +print(paste("*****************Software upgrades and cloud facilities*******************")) +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("However, the packages will not be present across different sessions")) +print(paste("This option is therefore discouraged and it should be used only for testing purposes.")) +print(paste("***********************************************")) + +print(paste("*****************USAGE NOTES*******************")) + +print(paste("*****************D4Science Workspace****************")) +print(paste("You can access, read and write any folder of your workspace")) +print(paste("by loading - and using - the package 'd4storagehub4R'")) +print(paste("developed by E. Blondel, with source code available at https://github.com/eblondel/d4storagehub4R")) +print(paste("It is recommended to save any worth maintaining file into the workspace to persist it.")) +print(paste("The persistence of files stored elsewhere is not guaranteed.")) +print(paste("***********************************************")) + +print(paste("Using Locale Encoding:",Sys.setlocale("LC_CTYPE","en_US.UTF-8")));