如何使用 MacOS 在 R 上更新 H2O 集群版本?

How to update H2O cluster version on R with MacOS?

每当我在 Mac 上从 R 导入 h2o 时,我都会看到一条警告消息

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

所以我按照运行

的h2o主页(http://h2o-release.s3.amazonaws.com/h2o/rel-zipf/3/index.html)的安装指南进行操作
# 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-zipf/3/R")

但是这种方法并没有解决问题反而会产生错误。

R is connected to the H2O cluster: 
    H2O cluster uptime:         10 days 3 hours 
    H2O cluster timezone:       America/New_York 
    H2O data parsing timezone:  UTC 
    H2O cluster version:        3.32.0.1 
    H2O cluster version age:    8 months and 2 days !!! 
    H2O cluster name:           H2O_started_from_R_matthewson_gtl621 
    H2O cluster total nodes:    1 
    H2O cluster total memory:   25.55 GB 
    H2O cluster total cores:    8 
    H2O cluster allowed cores:  8 
    H2O cluster healthy:        TRUE 
    H2O Connection ip:          localhost 
    H2O Connection port:        54321 
    H2O Connection proxy:       NA 
    H2O Internal Security:      FALSE 
    H2O API Extensions:         Amazon S3, XGBoost, Algos, AutoML, Core V3, TargetEncoder, Core V4 
    R Version:                  R version 4.0.3 (2020-10-10) 

Error in h2o.init() : 
  Version mismatch! H2O is running version 3.32.0.1 but h2o-R package is version 3.32.1.3.
         Install the matching h2o-R version from - https://h2o-release.s3.amazonaws.com/h2o/rel-zermelo/1/index.html
In addition: Warning message:
In h2o.clusterInfo() : 
Your H2O cluster version is too old (8 months and 2 days)!
Please download and install the latest version from http://h2o.ai/download/

有没有办法更新集群的h2o版本?不过,我在 windows 机器上没有遇到这个问题。

似乎 h2o 集群版本现在已在 CRAN 版本上更新。只需从 CRAN 重新安装即可解决问题。