library(caret)
Loading required package: lattice
Loading required package: ggplot2
I already installed lattice, ggplot2, since I used install.packages("caret", dependencies = TRUE)
. Nothing is working. Help!
A package loading other required packages is normal behavior in R. To confirm that caret
has been loaded, one can run the following code.
library(caret)
loaded_packages <- library()$results[,1]
# confirm caret is loaded
"caret" %in% tolower(loaded_packages)
...and the output:
> # confirm caret is loaded
> "caret" %in% tolower(loaded_packages)
[1] TRUE
>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.