Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/78.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在r上安装h2o的问题_R_Installation_H2o - Fatal编程技术网

在r上安装h2o的问题

在r上安装h2o的问题,r,installation,h2o,R,Installation,H2o,我使用安装包来安装h2o。虽然我可以执行h2o.init,但找不到h2o.autoML函数: could not find function "h2o.automl" 经过一番搜索,我在tar.gz中安装了“夜间前沿”。但安装后,即使是h2o.init也不再工作,并显示此错误: Error: package or namespace load failed for ‘h2o’ in get(method, envir = home): lazy-load database '/Library

我使用安装包来安装h2o。虽然我可以执行h2o.init,但找不到h2o.autoML函数:

could not find function "h2o.automl"
经过一番搜索,我在tar.gz中安装了“夜间前沿”。但安装后,即使是h2o.init也不再工作,并显示此错误:

Error: package or namespace load failed for ‘h2o’ in get(method, envir = home):
 lazy-load database '/Library/Frameworks/R.framework/Versions/3.4/Resources/library/h2o/R/h2o.rdb' is corrupt
In addition: Warning messages:
1: In .registerS3method(fin[i, 1], fin[i, 2], fin[i, 3], fin[i, 4],  :
restarting interrupted promise evaluation
2: In get(method, envir = home) :
restarting interrupted promise evaluation
3: In get(method, envir = home) : internal error -3 in R_decompress1
在过去的两个月里,h2o.automl函数已经包含在夜间版本中,因此如果您正确安装了软件包,它应该在那里。我推荐夜间发布而不是3.12预览版,因为3.12在AutoML中有一些bug

昨晚发布的夜间版本可安装在此处:

install.packages("h2o", type="source", repos="https://h2o-release.s3.amazonaws.com/h2o/master/3978/R")
稍后阅读本文的读者应访问以获取最新版本的链接

在R中安装后,启动H2O群集并验证版本。应与以下内容相同:

> h2o.init()
Reading in config file: ./../../.h2oconfig

H2O is not running yet, starting it now...

Note:  In case of errors look at the following log files:
    /var/folders/2j/jg4sl53d5q53tc2_nzm9fz5h0000gn/T//RtmpV47QKn/h2o_me_started_from_r.out
    /var/folders/2j/jg4sl53d5q53tc2_nzm9fz5h0000gn/T//RtmpV47QKn/h2o_me_started_from_r.err

java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

Starting H2O JVM and connecting: .. Connection successful!

R is connected to the H2O cluster: 
    H2O cluster uptime:         1 seconds 983 milliseconds 
    H2O cluster version:        3.13.0.3978 
    H2O cluster version age:    10 hours and 6 minutes  
    H2O cluster name:           H2O_started_from_R_me_flj500 
    H2O cluster total nodes:    1 
    H2O cluster total memory:   3.56 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:         XGBoost, Algos, AutoML, Core V3, Core V4 
    R Version:                  R version 3.3.2 (2016-10-31) 
AutoML将包含在H2O的下一个稳定版本3.14.0.1中,该版本将在未来一两周内发布。

过去两个月来,H2O.AutoML功能已包含在夜间版本中,因此如果您正确安装了软件包,它应该在那里。我推荐夜间发布而不是3.12预览版,因为3.12在AutoML中有一些bug

昨晚发布的夜间版本可安装在此处:

install.packages("h2o", type="source", repos="https://h2o-release.s3.amazonaws.com/h2o/master/3978/R")
稍后阅读本文的读者应访问以获取最新版本的链接

在R中安装后,启动H2O群集并验证版本。应与以下内容相同:

> h2o.init()
Reading in config file: ./../../.h2oconfig

H2O is not running yet, starting it now...

Note:  In case of errors look at the following log files:
    /var/folders/2j/jg4sl53d5q53tc2_nzm9fz5h0000gn/T//RtmpV47QKn/h2o_me_started_from_r.out
    /var/folders/2j/jg4sl53d5q53tc2_nzm9fz5h0000gn/T//RtmpV47QKn/h2o_me_started_from_r.err

java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

Starting H2O JVM and connecting: .. Connection successful!

R is connected to the H2O cluster: 
    H2O cluster uptime:         1 seconds 983 milliseconds 
    H2O cluster version:        3.13.0.3978 
    H2O cluster version age:    10 hours and 6 minutes  
    H2O cluster name:           H2O_started_from_R_me_flj500 
    H2O cluster total nodes:    1 
    H2O cluster total memory:   3.56 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:         XGBoost, Algos, AutoML, Core V3, Core V4 
    R Version:                  R version 3.3.2 (2016-10-31) 

AutoML将包含在H2O的下一个稳定版本3.14.0.1中,该版本将在未来一两周发布。

这一版本是否解决了您的问题:这是我尝试的版本,它甚至使H2O.init停止工作。.谢谢您是否尝试将H2O安装到工作计算机上?如果正在调用AWS中的S3 bucket,贵公司的防火墙可能会阻止对该软件包的访问。此防火墙是否解决了您的问题:这是我尝试过的防火墙,它甚至阻止了h2o.init的工作..谢谢您是否正在尝试将h2o安装到工作计算机上?如果正在呼叫AWS中的S3存储桶,您公司的防火墙可能会阻止对该软件包的访问。