Community Articles
Find and share helpful community-sourced technical articles
Super Collaborator

Please follow the below steps:

1. SSH into Sandbox by typing:

ssh root@ -p2222

2. Download the RStudio rpm package and install it

sudo yum install --nogpgcheck rstudio-server-rhel-0.99.893-x86_64.rpm

3. Install dpkg to divert the location of /sbin/initctl.

yum install dpkg

dpkg-divert --local --rename --add /sbin/initctl

ln -s /bin/true /sbin/initctl

4. Install R and then verify the installation of RStudio

yum install -y R

yum -y install libcurl-devel

rstudio-server verify-installation

5. The default port of RStudio server is 8787 which is not opened in the Docker Sandbox. You can either add it by following this tutorial or just edit rserver.conf file to change the port to another which is opened. Let us edit the rserver.conf file, run the following sed command:

sed -i "1 a www-port=8090" /etc/rstudio/rserver.conf 

6. Restart the server by typing

exec /usr/lib/rstudio-server/bin/rserver

It will take you out from the docker shell but you can re-login. Go to browser anyway and access RStudio by typing The login page will appear, use user credentials amy_ds/amy_ds.


New Contributor


I am unable to see any plots or graphs when I run a chunk of code in RNoteBook. But I am able to see them in the plots pane, when I run it from the console. What could be the reason for this behavior?