当我尝试通过Homebrew(用于Vim-R-plugin)安装R时:
brew install gcc
brew install r
然后尝试运行R:
R
我收到以下错误:
dyld: Library not loaded: /usr/local/lib/gcc/5/libgfortran.3.dylib
Referenced from: /usr/local/Cellar/r/3.2.0_1/R.framework/Versions/3.2/Resources/lib/libR.dylib
Reason: image not found
zsh: trace trap R
我已经搜索了错误,并且运气不佳尝试了几种“解决方案”。任何帮助将非常感激!
最佳答案
Justin Licata是正确的。
通过运行以下命令解决了该问题:
brew update && brew upgrade
brew reinstall gcc
brew reinstall r
关于r - 尝试通过Homebrew安装R时出错,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/30408433/