使用插入符号包但在库中出错(e1071) [英] Using Caret Package but Getting Error in library(e1071)
本文介绍了使用插入符号包但在库中出错(e1071)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是我的代码,非常标准,但我收到错误消息:
Here are my codes, pretty standard but I am getting the error msg:
library(caret)
set.seed(32343)
modelFit = train(type~.,data=training, method='glm')
错误信息:
Error in library(e1071) : there is no package called ‘e1071’
有什么想法吗?谢谢!
推荐答案
您需要安装包 e1071
,因为错误消息告诉您.
You need to install the package e1071
, as the error message is telling you.
install.packages('e1071', dependencies=TRUE)
这篇关于使用插入符号包但在库中出错(e1071)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文