From cf6cb0d8dd540510de0a16036bd2633f4a0252b8 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 20 Mar 2023 14:45:57 +0100 Subject: [PATCH] Do not configure the d4storagehub4R library. --- jupyter-Rprofile.site | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/jupyter-Rprofile.site b/jupyter-Rprofile.site index fb46a4f..4e12568 100644 --- a/jupyter-Rprofile.site +++ b/jupyter-Rprofile.site @@ -2,13 +2,15 @@ print(paste("***************** D4Science supported RStudio-as-a-Service ******** print(paste("")) print(paste("Welcome to the RStudio service offered by D4Science.")) print(paste("")) -print(paste("Any work produced by making use of assets made available by the D4Science infrastructure should acknowledge the support received and give credits. Please include the following reference:")) +print(paste("Any work produced by making use of assets made available by the D4Science infrastructure should acknowledge")) +print(paste("the support received and give credits. Please include the following reference:")) +print(paste("")) print(paste("M. Assante et al. (2019) Enacting open science by D4Science. Future Gener. Comput. Syst. 101: 555-563 10.1016/j.future.2019.05.063")) print(paste("")) print(paste("Please read the following instructions to maximise the exploitation of the RStudio environment.")) print(paste("*****************USAGE NOTES*******************")) - +print(paste("")) print(paste("*****************D4Science Workspace****************")) print(paste("You can access your workspace under 'workspace' in hour home directory")) print(paste("")) @@ -18,14 +20,13 @@ print(paste("developed by E. Blondel, with source code available at https://gith 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("")) 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("Those packages can be made permanent installing them into your home directory.")) -print(paste("You have to create a directory, eg '~/R/x86_64-pc-linux-gnu-library/4.1'")) -print(paste("and then install the packages in the following way:")) +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.")) @@ -41,8 +42,8 @@ Sys.setlocale(category = "LC_ALL", locale = "en_US.UTF-8") require(d4storagehub4R) # more information at ?StoragehubManager -.WORKSPACE = d4storagehub4R::StoragehubManager$new( - token_type = "jwt", token = Sys.getenv("D4SCIENCE_TOKEN") -) +#.WORKSPACE = d4storagehub4R::StoragehubManager$new( +# token_type = "jwt", token = Sys.getenv("D4SCIENCE_TOKEN") +#) print(paste("Using Locale Encoding:",Sys.setlocale("LC_CTYPE","en_US.UTF-8")));