Follow

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 "www-frame-origin=app.dominodatalab.com" >> /etc/rstudio/rserver.conf
chown ubuntu:ubuntu /etc/rstudio/rserver.conf

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

Here's an example of a complete Dockerfile:

FROM quay.io/domino/base:2016-12-07_1239 
USER root 
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/rserver.conf
Was this article helpful?
1 out of 1 found this helpful

Comments