我無法使用Mac下載R中的包。我已經嘗試了簡單的建議解決方案。請幫忙。無法安裝lmtest包
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’
你試過了什麼命令? – PoGibas
所以我只是去工具>安裝軟件包> lmtest .. –
你試過'install.packages('lmtest',dependencies = TRUE)'? –