R安装h2o

if ("package:h2o" %in% search()) { detach("package:h2o", unload=TRUE) }
if ("h2o" %in% rownames(installed.packages())) { remove.packages("h2o") }


pkgs <- c("RCurl","jsonlite")
for (pkg in pkgs) {
  if (! (pkg %in% rownames(installed.packages()))) { install.packages(pkg) }
}


library(graphics)
library(tools)
library(utils)
library(RCurl)
library(jsonlite)
library(ggplot2)
library(mlbench)
library(Matrix)
library(slam)
library(bit64)
library(data.table)
library(survival)

install.packages("h2o", type="source", repos=(c("http://h2o-release.s3.amazonaws.com/h2o/latest_stable_R")))

或者install.packages("h2o")




你可能感兴趣的:(R)