无法安装lmtest包

时间:2017-09-22 19:14:24

标签: r macos-sierra

使用Mac时,我无法在R中下载软件包。我尝试过简单的建议解决方案。请帮忙。

ERROR: compilation failed for package ‘lmtest’
* removing ‘/Users/Saundy/Library/R/3.4/library/lmtest’
Warning in install.packages :
  installation of package ‘lmtest’ had non-zero exit status

下载的源包在

‘/private/var/folders/b7/6zytq47j2k5d3knkv0zjtzbm0000gn/T/RtmpMY0uuf/downloaded_packages’

1 个答案:

答案 0 :(得分:0)

R版本3.4.2(2017-09-28) 平台:x86_64-apple-darwin13.4.0(64位) 运行于:macOS High Sierra 10.13.1

Matrix产品:默认 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

区域设置: [1] en_US.UTF-8 / en_US.UTF-8 / en_US.UTF-8 / C / en_US.UTF-8 / en_US.UTF-8

附加基础包: [1] stats graphics grDevices utils数据集方法库

通过命名空间加载(而不是附加): [1] compiler_3.4.2 tools_3.4.2 yaml_2.1.14