Overview
When running up a Rstudio notebook in Domino, you may see the following error when trying to run simple plot command. For example:
Warning message:
R graphics engine version 12 is not supported by this version of RStudio. The Plots tab will be disabled until a newer version of RStudio is installed.
Resolution
This can be resolved by upgrading Rstudio.
Add the following to the docker file section in your compute environment. You will need to re-start your Rstudio notebook afterwards
RUN \ cd /tmp && \ wget http://www.rstudio.org/download/latest/stable/server/ubuntu64/rstudio-server-latest-amd64.deb && \ dpkg -i rstudio-server-latest-amd64.deb && \ rm rstudio-server-latest-amd64.deb RUN \ echo "www-frame-origin=app.dominodatalab.com" >> /etc/rstudio/rserver.conf && \ chown ubuntu:ubuntu /etc/rstudio
Note: the www-frame-origin
value needs to point to the correct domain for your deployment. This article explains what this value does in greater detail.