7

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 
Marco Fumagalli
  • 2,307
  • 3
  • 23
  • 41

2 Answers2

6

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

  • 1
    A link to a solution is welcome, but please ensure your answer is useful without it: [add context around the link](https://meta.stackexchange.com/a/8259) so your fellow users will have some idea what it is and why it’s there, then quote the most relevant part of the page you're linking to in case the target page is unavailable. [Answers that are little more than a link may be deleted](https://stackoverflow.com/help/deleted-answers). – David Buck Nov 27 '19 at 11:18
  • 1
    I have tried this solution from the H2O.ai website but still receive the Error. I have found that uninstalling and reinstalling does Not clear the fact that H2O sees version Mismatches. Shouldn't there be an easier fix? – mccurcio Jan 30 '20 at 18:07
  • 1
    Worked for me, thanks. This should be marked as right answer. – Aman J May 17 '20 at 19:38
  • It gave me a download error so I downloaded `h2o_3.32.1.6.tar.gz` (up to date at the time of writing) manually using `curl` and installed it by `install.packages("~/Downloads/h2o_3.32.1.6.tar.gz", repos=NULL)`. It shows no warnings now. – chan1142 Aug 29 '21 at 15:25
  • If a user doesn't have access to a CRAN mirror (common in corporate/university networks) they will end up without any version of h2o at all. – Marek Apr 05 '23 at 12:12
0

This is just an warning message, so if you want, you can continue to use the H2O version you are using.

Please note it is expected that you would get this warning message. H2O wants you to know whether or not you are using an up-to-date version.

If you want the message to go away, all you need to do is update to the latest stable release: http://h2o-release.s3.amazonaws.com/h2o/latest_stable.html

Lauren
  • 5,640
  • 1
  • 13
  • 19
  • If this is JUST a warning message and an alert THEN Do ppl feel that is incumbent on H2O.ai to provide a solution that solves this problem. I have tried their answer from their site and it Does Not Fix the error. I still get the error. – mccurcio Jan 30 '20 at 18:02