- install latest R in Ubuntu
update the source list by sudo vi /etc/apt/sources.list
add the following line into /etc/apt/sources.list
deb https://https://cran.cnr.Berkeley.edu/bin/linux/ubuntu trusty/
Then
sudo apt-get update
sudo apt-get install r-base
sudo apt-get install r-base-dev
- install RStudio Server
sudo apt-get install gdebi-core
wget https://download2.rstudio.org/rstudio-server-0.99.485-amd64.deb
sudo gdebi rstudio-server-0.99.485-amd64.deb
double check install successfully:
sudo rstudio-server verify-installation
- start RStudio Server
http://<myip>:8787
Reference: