diff --git a/SolarPanelForecasting/Code/script.sh b/SolarPanelForecasting/Code/script.sh index 93e7cfa..2f690b5 100644 --- a/SolarPanelForecasting/Code/script.sh +++ b/SolarPanelForecasting/Code/script.sh @@ -2,7 +2,9 @@ # install R libraries. -sudo Rscript -e 'library(devtools);with_libpaths(new="~/R/lib", install_github(c("rstudio/reticulate", "gaborcsardi/debugme", "r-lib/processx", "rstudio/tfruns", "rstudio/keras")))' +sudo mkdir /etc/skel/R +sudo mkdir /etc/skel/R/lib +sudo Rscript -e 'library(devtools);library(withr);withr::with_libpaths(new="/etc/skel/R/lib", install_github(c("rstudio/reticulate", "gaborcsardi/debugme", "r-lib/processx", "rstudio/tfruns", "rstudio/keras")))' # Create keras config json file.