如何解决如何使用 MacOS 在 R 上更新 H2O 集群版本?
每当我在 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 机器上没有遇到这个问题。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。