
#Update r version in rstudio how to#
'citation()' on how to cite R or R packages in publications. Type 'contributors()' for more information and R is a collaborative project with many contributors. Natural language support but running in an English locale Type 'license()' or 'licence()' for distribution details. You are welcome to redistribute it under certain conditions. R is free software and comes with ABSOLUTELY NO WARRANTY. R version 3.6.3 () - "Holding the Windsock"Ĭopyright (C) 2020 The R Foundation for Statistical Computing Process 1: bash$ /usr/local/lib/R/bin/exec/R -sense -no-readline -args Using my own image and a Workbench - Python session, I was able to successfully execute these two processes. These are the following two: cdsw 197 51 0 08:29 ? 00:00:00 /usr/local/lib/R/bin/exec/R -sense -no-readline -argsĬdsw 198 51 0 08:29 ? 00:00:00 /usr/local/lib/R/bin/Rserve -RS-socket /tmp/cdsw-rserve-x0jbdet9dfe1428o.sock -RS-source /usr/local/lib/node_modules/r-engine/lib/ -slave Using the base image which works with the Workbench - R editor, I checked which processes CDSW tries to launch in this case. The session is immediately exited and the following error visible in the log. The issue remains though, that launching a session with the Workbench - R editor is not possible. I am successfully able to launch CDSW sessions with this container with the following editors: # remove java installation again since it is mounted at runtime RUN Rscript -e "update.packages(checkBuilt=TRUE, ask=FALSE, repos='')" RUN export JAVA_HOME=/usr/lib/jvm/java-openjdk & \ # the java installation is mounted at CDSW session run time - copy it to the build context here Ln -s /usr/local/lib/R/bin/Rscript /usr/local/bin/Rscript & \Įcho -e "# make libR.so visible to ld.so\n/usr/local/lib/R/lib" > /etc/ld.so.conf.d/nf & \ Ln -s /usr/local/lib/R/bin/R /usr/local/bin/R & \ configure -prefix=/usr/local -enable-R-shlib & \ My current Dockerfile roughly looks as follows:įROM /cdsw/engine:10
