【发布时间】:2017-05-25 04:43:53
【问题描述】:
我想在 R 中安装一个名为“locClass”的包,但总是失败并不断收到以下警告:
install.packages("locClass", repos="http://download.r-forge.r-project.org/")
Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘locClass’
These will not be installed
安装命令参考:https://r-forge.r-project.org/R/?group_id=1187
另外,我从上面的网站下载了包源。但是 R 返回了以下内容:
库(locClass)
Error in library(locClass) : ‘locClass’ is not a valid installed package
我的 R 版本是 3.3.3。我尝试了 3.4.0 但同样失败了。
【问题讨论】:
标签: r