Last active
March 14, 2022 03:20
-
-
Save zachmayer/e591cf868b3a381a01d6 to your computer and use it in GitHub Desktop.
Mac BLAS
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
#Option 1 - install openblas with homebrew and link to CRAN installed R | |
brew tap homebrew/science | |
brew install openblas | |
ln -sf /usr/local/Cellar/openblas/0.2.12/lib/libopenblas.dylib /Library/Frameworks/R.framework/Resources/lib/libRblas.dylib | |
#Option 2 - install r with openblas through homebrew | |
brew tap homebrew/science | |
brew install r --with-openblas |
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
#Option 1 - link CRAN installed R to veclib | |
ln -sf /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/libBLAS.dylib /Library/Frameworks/R.framework/Resources/lib/libRblas.dylib | |
#Option 2 - install r with veclib through homebrew | |
brew tap homebrew/science | |
brew install r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error: homebrew/science was deprecated. This tap is now empty as all its formulae were migrated.
Just
brew install openblas
, it will work