From a7e2da5f72a2708da0f5b6fe0a7e682221837c8d Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 22 Mar 2023 16:56:57 +0100 Subject: [PATCH] Initialize d4storagehub4R in jupyter --- jupyter-Rprofile.site | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jupyter-Rprofile.site b/jupyter-Rprofile.site index 4e12568..40f83b7 100644 --- a/jupyter-Rprofile.site +++ b/jupyter-Rprofile.site @@ -42,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")));