QBoard » Artificial Intelligence & ML » AI and ML - R » Using Caret Package but Getting Error in library(e1071)

Using Caret Package but Getting Error in library(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 msg:

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

    Any idea? Thanks!

    This post was edited by Vinaya Chahal at August 25, 2020 12:49 PM IST
      August 25, 2020 12:14 PM IST
    1
  • You need to install the package e1071, as the error message is telling you.
    install.packages('e1071', dependencies=TRUE)​
      August 25, 2020 12:37 PM IST
    1
  • To remove this error, you need to install the package e1071, as the error message is describing.

    install.packages('e1071', dependencies=TRUE)
      September 15, 2020 3:28 PM IST
    0
  • Have you tried reinstalling e1071 ? Sometimes an installation can get messed up for reasons unknown, so it's worth a try.

    install.packages("e1071")
      September 15, 2020 3:35 PM IST
    0
  • If you will be using the caret package regularly try:

    install.packages('caret', dependencies = TRUE)​

    This will automatically download package e1071 as well as ellipse and many other package dependancies that arise in using caret

    for more information please check out the CRAN package page for caret here caret package info

      August 25, 2020 12:48 PM IST
    0
  • you need install package e1071, error message telling you.



    install.packages('e1071', dependencies=true)
      October 27, 2021 1:48 PM IST
    0
  • If you will be using the caret package regularly try:
    install.packages('caret', dependencies = TRUE)
    This will automatically download package e1071 as well as ellipse and many other package dependancies that arise in using caret
    for more information please check out the CRAN package page for caret here caret package info
      October 27, 2021 3:32 PM IST
    0