Hello,
I used RStudio a lot but I am pretty new to rocker and Docker.
Currently, when starting the RStudio in Docker, it defaults to point to /home/rstudio as working directory.
I am wondering if there is a way to set a customized working directory such that when starting up, RStudio goes to the customized working directory directly?
I tried adding this to the docker file to change the default working directory of RStudio but it didn't work.
RUN echo "setwd(\"~/../home/rstudio/workspace/\")" > ~/.Rprofile #set up working diretory