我在Mac OS Sierra上没有管理员权限(呃)。我真的需要安装一堆软件包,但对于绝大多数软件包,当我尝试安装时,会出现以下错误:
make: x86_64-apple-darwin13.4.0-clang: No such file or directory
make: *** [base64.o] Error 1
ERROR: compilation failed for package ‘RCurl’
我安装了clang,但它的版本不同:
clang --version
clang version 4.0.1 (tags/RELEASE_401/final)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
我怀疑这种不匹配是问题所在,但是对于安装和计算机内部并不是特别精明,我真的不知道如何解决它。我还没有能够找到一个与其他人有关的问题,这对我的情况有所帮助。
我已经尝试编辑我的路径以包含我发生的所有可能性。我也尝试过安装devtools(基本上是同样的错误)。我的sessionInfo()和r --version信息如下。
r --version
R version 3.4.2 (2017-09-28) -- "Short Summer"
Copyright (C) 2017 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin13.4.0 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
http://www.gnu.org/licenses/.
...和sessionInfo():
R version 3.4.2 (2017-09-28)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: macOS Sierra 10.12.6
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.4.2 tools_3.4.2