AdrianAntico / AutoQuant

R package for automation of machine learning, forecasting, model evaluation, and model interpretation
GNU Affero General Public License v3.0
235 stars 43 forks source link

h2o #64

Closed VladPerervenko closed 4 years ago

VladPerervenko commented 4 years ago

Correct install.packages("h2o", type="source", repos="http://h2o-release.s3.amazonaws.com/h2o/rel-zahradnik/6/R")

AdrianAntico commented 4 years ago

@VladPerervenko Can I get a little more context? Is that the most recent update or something else?

For example, on this page https://h2o-release.s3.amazonaws.com/h2o/rel-lambert/5/docs-website/Ruser/Rinstall.html, it shows that I should run this: install.packages("C:/Users/Amy/Downloads/h2o-2.7.0.1497/R/h2o_2.7.0.1497.tar.gz", repos = NULL, type = "source")

VladPerervenko commented 4 years ago

Latest release h2o (3.30.0.6) Copy and paste these commands into R one line at a time: `# The following two commands remove any previously installed H2O packages for R. if ("package:h2o" %in% search()) { detach("package:h2o", unload=TRUE) } if ("h2o" %in% rownames(installed.packages())) { remove.packages("h2o") }

Next, we download packages that H2O depends on.

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

Now we download, install and initialize the H2O package for R.

install.packages("h2o", type="source", repos="http://h2o-release.s3.amazonaws.com/h2o/rel-zahradnik/6/R")

Finally, let's load H2O and start up an H2O cluster

library(h2o) h2o.init()` And of course you need to have a use case with Spark 3.0.

AdrianAntico commented 4 years ago

@VladPerervenko Based on this page https://docs.h2o.ai/h2o/latest-stable/h2o-docs/faq/r.html the code to install is below. Not sure what webpage you found the install code you provided...

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