我想安装名为" locClass"的软件包。在R但总是失败并继续得到以下警告:
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,但失败的方式相同。