Install R 3.4.1 and Rstudio on ubuntu 16.04 LTS
It is now available using apt-get. Install R 3.4.1 on ubuntu 16.04 LTS cd $HOME wget https://cran.rstudio.com/src/base/R-3/R-3.4.1.tar.gz tar xvf R-3.4.1.tar.gz cd R-3.4.1 sudo apt-get install gcc fort77 aptitude sudo aptitude install g++ sudo aptitude install xorg-dev sudo aptitude install libreadline-dev sudo aptitude install gfortran gfortran --version sudo apt install libpcre3-dev liblzma-dev libbz2-dev sudo add-apt-repository ppa:webupd8team/java -y sudo apt-get update sudo apt-get install oracle-java8-installer sudo apt-get install oracle-java8-set-default sudo apt-get install texlive-base sudo apt-get install texinfo sudo apt-get install texlive-fonts-extra sudo apt-get install libcurl4-openssl-dev sudo apt-get install libcairo2-dev libpng-dev zlib1g-dev libpixman-1-dev libxt-dev java -version # need to build shared library (--enable-R-shlib) # the --enable-R-shlib option is needed for the RStudio IDE to work sudo ./configure --enable-R-shlib ...