Error with accessing 'caret' library: "Object 'vI' not found"

Hi there,

I am having trouble accessing the caret library. I'm using RStudio. Here is my error:

> library(caret)

Error: package or namespace load failed for ‘caret’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
object 'vI' not found

The code I used to install the caret package is below, it ran fine without issues:

install.packages("caret", dependencies = c("Depends", "Suggests"))

I am using R version 4.1.2. I tried this after switching to 3.6.3 but got the same error. I have tried a few other packages and they are working. I'm on Windows 10. I really appreciate any help!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.