Here is my code:
library(caret)
set.seed(32343)
modelFit = train(type~.,data=training, method='glm')
It's pretty standard but I am getting the error message:
Error in library(e1071) : there is no package called ‘e1071’
What's the cause, and how can the problem be resolved?