Install packages into a custom lib path
This commit is contained in:
Родитель
b33e335861
Коммит
117ca21ac2
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
# install R libraries.
|
# 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.
|
# Create keras config json file.
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче