我正在使用带有 R 版本 3.2.2 (2015-08-14) 的 Revolution R Enterprise
当我尝试安装时library(caret)
出现此错误
library(caret)
Loading required package: ggplot2
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘Rcpp’
In addition: Warning messages:
1: package ‘caret’ was built under R version 3.2.5
2: package ‘ggplot2’ was built under R version 3.2.4
Error: package ‘ggplot2’ could not be loaded
请帮助我我尝试了很多事情,但我仍然有这个错误