Whenever I try to install and load the caret library, I get an error message saying:
Error: package or namespace load failed for ‘caret’ in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object '/Documents/R/win-library/4.0/Rcpp/libs/x64/Rcpp.dll':
LoadLibrary failure: The specified procedure could not be found.
In addition: Warning message:
package ‘caret’ was built under R version 4.0.2
I tried many things such as reinstalling R for Windows 4.0, reinstalled all the required packages , tried updating the packages and nothing seems to work.
update.packages(ask=FALSE, checkBuilt=TRUE)
install.packages("Rcpp)
install.packages("caret", dependencies = TRUE)
Now I also get an error popup saying that the entry point for procedure EXTPTR_PTR cannot be found in my library \R\win-library\4.0\Rcpp\libs\x64\Rcpp.dll.
Can someone help please???