以下方法仅确保对mac系统可行,win系统可借鉴/尝试
问题
R中安装包时,末行出现“… had none-zero exit status”的warning
解决方案
1. 如果error提示是 compilation failed for package ‘xxx’
需要下载xcode辅助工具,下载方式有两种:
- 终端输入:xcode-select --install
- Going here https://developer.apple.com/download/more/ and downloading Command Line Tools (macOS 10.14) for Xcode 10
To be continued…