When I attempt to install R via Homebrew (to use for Vim-R-plugin):
当我尝试通过Homebrew安装R(用于Vim-R-plugin)时:
brew install gcc
brew install r
Then then try to run R:
然后尝试运行R:
R
I get the following error:
我收到以下错误:
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
I have searched for the error and have tried several "solutions" with little luck. Any help would be much appreciated!
我已经搜索了错误并尝试了几个没有运气的“解决方案”。任何帮助将非常感激!
1 个解决方案
#1
10
Justin Licata was correct.
贾斯汀利卡塔是对的。
The issue was resolved by running:
通过运行解决了该问题:
brew update && brew upgrade
brew reinstall gcc
brew reinstall r
#1
10
Justin Licata was correct.
贾斯汀利卡塔是对的。
The issue was resolved by running:
通过运行解决了该问题:
brew update && brew upgrade
brew reinstall gcc
brew reinstall r