Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

h2o warning message too old cluster

Tags:

r

h2o

Hi i'm using h2o in R.

Just a couple of weeks ago i update h2o package to the latest version

 h2o.getVersion()
[1] "3.20.0.2"

But when i Initialize a new h2o session with h2o.init i recieve a warning message like that

In h2o.clusterInfo() : 
Your H2O cluster version is too old (3 months and 9 days)!
Please download and install the latest version from http://h2o.ai/download/

What should I do? When I installed h2o for the first time I don't recall having any file downloaded from h2o website.

Other info: OS Windows 10

 R.version
               _                           
platform       x86_64-w64-mingw32          
arch           x86_64                      
os             mingw32                     
system         x86_64, mingw32             
status                                     
major          3                           
minor          5.0                         
year           2018                        
month          04                          
day            23                          
svn rev        74626                       
language       R                           
version.string R version 3.5.0 (2018-04-23)
nickname       Joy in Playing 
like image 200
Marco Fumagalli Avatar asked Sep 25 '18 10:09

Marco Fumagalli


1 Answers

First 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") }

And then, download packages that H2O depends on.

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

Download and install the H2O package for R.

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

Optionally initialize H2O and run a demo to see H2O at work.

library(h2o)
localH2O = h2o.init()
demo(h2o.kmeans)

Or you can simply check the following link:

http://docs.h2o.ai/h2o/latest-stable/h2o-docs/downloading.html#install-in-r

like image 196
Mustafa Gencer Avatar answered Sep 24 '22 16:09

Mustafa Gencer