Skip to content

Instantly share code, notes, and snippets.

@dettmering dettmering/install-r.sh
Last active Aug 31, 2015

Embed
What would you like to do?
Compile R on Raspberry Pi
#!/bin/bash
# This can take a while. Run in a screen environment.
# Modify for the version you want to install.
RVERSION=3.2.2
sudo apt-get install screen gfortran libreadline6-dev libx11-dev libxt-dev
cd ~
mkdir R_HOME
cd R_HOME/
wget http://cran.rstudio.com/src/base/R-3/R-$RVERSION.tar.gz
tar zxvf R-$RVERSION.tar.gz && rm R-$RVERSION.tar.gz
cd R-$RVERSION/
./configure && make && sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.