Когда я запускаю R
, я получаю:
dyld: Library not loaded: /usr/local/opt/openblas/lib/libopenblasp-r0.2.20.dylib
Referenced from: /usr/local/Cellar/r/3.5.0_1/lib/libR.dylib
Reason: image not found
Abort trap: 6
Действительно, файл отсутствует:
ls /usr/local/opt/openblas/lib/libopenblasp-r0.2.20.dylib
ls: cannot access '/usr/local/opt/openblas/lib/libopenblasp-r0.2.20.dylib': No such file or directory
Я на MacOS 10.13.3 и использовал homebrew установить R так:
# Java
brew cask install java
# OpenBLAS (installs gcc and other dependencies)
brew install openblas
# R language for statistical computing
brew install r --with-openblas --with-java
# Install XQuartz, needed for R package "Cairo"
brew cask install xquartz
# Needed for R package "RMySQL"
brew install mariadb-connector-c
# Needed for R packages: udunits2, units, ggforce
brew install udunits