In this page, We shall describe the installation process for R-3.4.0 on Raspberry Pi 2 or 3(Raspbian Jessie with PIXEL).
R-3.4.0

Installing R-3.3.3

The following is based on MYGeeks!: Compile and Install R-3.1.2 (32-bit) in Raspberry Pi Model B/B+.
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y gfortran libreadline6-dev libx11-dev libxt-dev libpng-dev libjpeg-dev libcairo2-dev xvfb libcurl4-openssl-dev texinfo
cd /home/pi/
mkdir R_HOME
cd R_HOME
wget http://cran.rstudio.com/src/base/R-3/R-3.4.0.tar.gz
tar zxvf R-3.4.0.tar.gz 
cd R-3.4.0/
./configure --with-cairo --with-jpeglib --enable-R-shlib
make
sudo make install

This page was last modified on 25 April 2017.