From 4f2108910360bbd52c7855141395c3809f02cd90 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 22 Mar 2023 17:43:05 +0100 Subject: [PATCH] load d4storagehub4R in jupyter, do not initialize it. --- jupyter-Rprofile.site | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/jupyter-Rprofile.site b/jupyter-Rprofile.site index 40f83b7..dde166a 100644 --- a/jupyter-Rprofile.site +++ b/jupyter-Rprofile.site @@ -36,14 +36,12 @@ print(paste("***********************************************")) options(repos = c(CRAN = 'https://packagemanager.rstudio.com/cran/__linux__/focal/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") - require(d4storagehub4R) - # more information at ?StoragehubManager -WORKSPACE = d4storagehub4R::StoragehubManager$new( - token_type = "jwt", token = Sys.getenv("D4SCIENCE_TOKEN") -) +# print(paste("")) +# print(paste("Run the following code to initialize the StoragehubManager:")) +# print(paste('WORKSPACE = d4storagehub4R::StoragehubManager$new(token_type = "jwt", token = Sys.getenv("D4SCIENCE_TOKEN"))')) +# print(paste("")) print(paste("Using Locale Encoding:",Sys.setlocale("LC_CTYPE","en_US.UTF-8")));