Why does my upgraded RStudio load a blank screen?

If you've used a custom compute environment to upgrade RStudio >= 1.0.136, you may encounter a blank screen when loading a new session. Fortunately, this is easy to resolve.

RStudio version 1.0.136 introduced default behavior that prevents RStudio from running inside of an iframe (which is used by Domino to provide the sync menu). You can use the www-frame-origin parameter to get back up and running. To set this, add the following lines to your environment:

echo "" >> /etc/rstudio/rserver.conf
chown ubuntu:ubuntu /etc/rstudio/rserver.conf

Note: for private deployments, replace with the domain you use to access Domino.

Here's an example of a complete Dockerfile:

USER root 
cd /tmp && \
wget && \ dpkg -i rstudio-server-latest-amd64.deb && \ rm rstudio-server-latest-amd64.deb
echo "" >> /etc/rstudio/rserver.conf && \ chown ubuntu:ubuntu /etc/rstudio/rserver.conf
Was this article helpful?
0 out of 0 found this helpful