In this page, We shall describe the installation process for R-3.3.3 on Raspberry Pi 2 or 3(Raspbian Jessie with PIXEL).
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.3.3.tar.gz
tar zxvf R-3.3.3.tar.gz
cd R-3.3.3/
./configure --with-cairo --with-jpeglib --enable-R-shlib
make
sudo make install
This page was last modified on 9 March 2017.