op <- options("h2o.use.data.table" = TRUE)
if (use.package("data.table")) {
cat("optional package data.table 1.9.8+ is available\n")
} else {
cat("optional package data.table 1.9.8+ is not available\n")
}
options(op)
Run the code above in your browser using DataLab