Login to your account and then run these commands one at a time
sudo useradd rstudio
sudo mkdir /home/rstudio
sudo passwd rstudio
sudo chmod -R 0777 /home/rstudio
#update all files
sudo apt-get update
sudo apt-get upgrade
#add cran mirror
sudo vi /etc/apt/sources.list.d/sources.list
#Add following line
deb http://lib.stat.cmu.edu/R/CRAN/bin/linux/ubuntu precise/
#update files
sudo apt-get update
#install R w/o verification
sudo apt-get install r-base
If you want to use R to connect to any web data/API's
#install in order to use RCurl & XML
sudo aptitude install libcur14-openss1-dev
sudo apt-get install libxml12-dev
Install R studio server
sudo apt-get install gdebi-core
sudo apt-get install libapparmor1
#change to a writable directory
#dowload & install Rstudio server
cd /tmp
wget http://download2.rstudio.org/rstudio-server-0.97.336-amd64.deb
sudo gdebi rstudio-server-0.97.336-amd64.deb
Follow these steps and you are good to go. After this you can install a db of your choice or use AWS aurora.
Once you’ve installed the above commands, you can now access RStudio through your local browser. Navigate to the Public DNS of your image on port 8787, similar to:
The login and password will be the values you used in the image creation process (I used rstudio as my username above).