Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in R Programming by (5.3k points)

Here is my code, pretty standard but I am getting the error msg:

library(caret)

set.seed(32343)

modelFit = train(type~.,data=training, method='glm')

error msg:

Error in library(e1071) : there is no package called ‘e1071’

Any idea? Thanks!

1 Answer

0 votes
by
edited

To remove this error, you need to install the package e1071, as the error message is describing.

install.packages('e1071', dependencies=TRUE)

If you want to explore more in R programming then watch this R programming tutorial for beginner:

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...