Before building and launching the container based on this template, create cache directories for renv
and pak
, as well as RStudio config directory.
$ mkdir ~/.cache/R/renv # renv
$ mkdir ~/.cache/R/pkgcache # pak
$ mkdir ~/.config/rstudio-server # rstudio configs
In the Dockerfile
, several cache and configuration directories are created under /home/rstudio/
with user's priviledge.
ROOT
is true to enablesudo
command in RStudio terminal. Password ispassword
.- No authentication is required to log in to RStudio Server.
RENV_CONFIG_PAK_ENABLED
is set true to enablepak
by default forrenv
.