Last active
August 29, 2015 14:20
-
-
Save retrography/f9a554be5b4015f07fa0 to your computer and use it in GitHub Desktop.
R Bootstrap
This file contains hidden or 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
| # First enable multiverse in /etc/apt/sources.list | |
| # apt-get install revolution-r revolution-mkl | |
| # From the horse's mouth | |
| curl http://mran.revolutionanalytics.com/install/RRO-8.0.3-Ubuntu-14.04.x86_64.tar.gz | tar -xvz | |
| curl http://mran.revolutionanalytics.com/install/RevoMath-8.0.3.tar.gz | tar -xvz | |
| cd RRO* | |
| ./install.sh | |
| cd ../RevoMath/ | |
| ./RevoMath.sh | |
| # Conf | |
| R CMD javareconf | |
| apt-get install libglpk-dev libmysqlclient-dev mesa-common-dev libglu1-mesa-dev | |
| sed -e 's|^\(R_LIBS_USER=\).*|\1${R_LIBS_USER-"~/.R/3.1"}|' /usr/lib64/RRO-8.0.3/R-3.1.3/lib/R/etc/Renviron |
This file contains hidden or 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
| install.packages(c('checkpoint','timeDate','statnet','devtools','igraph','sna','sqldf','foreign','statnet','car','foreach','doMC','doParallel'), dependencies=TRUE) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment