Last active
August 29, 2015 14:00
-
-
Save dsjohnson/11155016 to your computer and use it in GitHub Desktop.
Symliks to add for R 3.1.0 (Mavericks version) to run and compile packages
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
After you have installed gfortran from homebrew using | |
$ brew install gfortran | |
After installing R... add the following lines to ~/.R/Makevars | |
FC = /usr/local/bin/gfortran | |
F77 = /usr/local/bin/gfortran | |
FLIBS = -L/usr/local/Cellar/gcc/4.9.2_1/lib/gcc/4.9 -lgfortran -lquadmath -lm | |
and openblas using | |
$ brew install openblas | |
$ ln -s /usr/local/Cellar/openblas/0.2.13/lib/libopenblas.dylib /Library/Frameworks/R.framework/Libraries/libRblas.dylib | |
make sure all the appropriate versions are correct! These were the versions I have when I created this gist. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment