4. Install R and then verify the installation of RStudio
yum install -y R
yum -y install libcurl-devel
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
It will take you out from the docker shell but you can re-login. Go to browser anyway and access RStudio by typing 127.0.0.1:8090. The login page will appear, use user credentials amy_ds/amy_ds.