我想安装GenomicAlignments R软件包,但安装会因为无法安装其中一个依赖项而崩溃RCurl.当我尝试RCurl通过运行单独安装时install.packages("RCurl"),我收到以下错误:
ld: file not found: /usr/lib/system/libsystem_darwin.dylib for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [RCurl.so] Error 1
ERROR: compilation failed for package ‘RCurl’
* removing ‘/usr/local/lib/R/3.4/site-library/RCurl’
Warning in install.packages :
installation of package ‘RCurl’ had non-zero exit status
Run Code Online (Sandbox Code Playgroud)
这是sessionInfo():
R version 3.4.2 (2017-09-28)
Platform: x86_64-apple-darwin16.7.0 (64-bit)
Running under: macOS Sierra 10.12.6
Run Code Online (Sandbox Code Playgroud)
我追溯到我最近安装的错误的Xcode 9版本.那么,关于如何解决这个问题的任何想法?回到Xcode 8.3.3可能会解决问题,但我不知道如何做到这一点.
TP先生,谢谢