Install RStudio sever on Ubuntu

Post date: Apr 6, 2014 7:52:07 AM

I just went to the RStudio server website and followed all the instructions:

https://www.rstudio.com/ide/download/server

For configuration the program:

https://www.rstudio.com/ide/docs/server/configuration

Step-by-step

1) updates R to the latest version

2) install RStudio server:

$ sudo apt-get install gdebi-core $ sudo apt-get install libapparmor1  # Required only for Ubuntu, not Debian $ wget http://download2.rstudio.org/rstudio-server-0.98.501-amd64.deb $ sudo gdebi rstudio-server-0.98.501-amd64.deb

3) logon to the RStudio server on your local machine:

http://weua41f725ec477518a8aee.ant.amazon.com:8787/

Note that R use port 8787 as the default.

4) If you found R version is not updated, then come back to the server and restart the R studio using

$ sudo rstudio-server restart

, then come back to your local machine and quit form the current R session (i.e., q() ). The new R session will be the new version of R.