在这篇文章之后,我使用了以下步骤:
brew tap homebrew/science
brew install Caskroom/cask/xquartz
brew install r
然后在尝试运行R时,我收到此错误:
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
Referenced from: /usr/local/Cellar/r/3.4.3_1/lib/libR.dylib
Reason: image not found
Abort trap: 6
答案 0 :(得分:-1)
我能够通过卸载并重新安装readline来解决这个问题:
brew uninstall readline
brew install readline