Last active
August 31, 2015 17:40
-
-
Save dettmering/f8633010932035ef2401 to your computer and use it in GitHub Desktop.
Compile R on Raspberry Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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