简体   繁体   English

R 中的 h2o 代码不起作用 - 奇怪的错误消息

[英]h2o code in R is not working - strange error message

I cannot seem to get the h2o code to load in R.我似乎无法将 h2o 代码加载到 R 中。 I tried to start up h2o using the following codes:我尝试使用以下代码启动 h2o:

h2o.no_progress()

h2o.init(max_mem_size = "5g")

This did not work so I tried the code below and got the following error message.这不起作用,所以我尝试了下面的代码并收到以下错误消息。

h2o.init()

'''H2O is not running yet, starting it now... '''H2O 还没有运行,现在开始......

<simpleError in system2(command, "-version", stdout = TRUE, stderr = TRUE): '""' not found> <system2 中的simpleError(命令,“-version”,stdout = TRUE,stderr = TRUE):'“”'未找到>

Error in value[3L]:值错误[3L]:

You have a 32-bit version of Java.您有一个 32 位版本的 Java。 H2O works best with 64-bit Java. H2O 最适合 64 位 Java。

Please download the latest Java SE JDK from the following URL:请从以下 URL 下载最新的 Java SE JDK:

https://www.oracle.com/technetwork/java/javase/downloads/index.html''' https://www.oracle.com/technetwork/java/javase/downloads/index.html'''

I tried downloading the Java update, but the link does not work.我尝试下载 Java 更新,但链接不起作用。 I am not sure how to fix the error.我不确定如何解决该错误。 I am trying to do PCA on my dataset.我正在尝试对我的数据集进行 PCA。

That is the correct link: https://www.oracle.com/java/technologies/javase-downloads.html Are the double quotes at the end of the link part of the error message?那是正确的链接: https://www.oracle.com/java/technologies/javase-downloads.html是错误消息末尾的链接部分吗? Or did that get added when you formatted your question here?或者当你在这里格式化你的问题时添加了这个? If you remove the quotes at the end, the link works.如果您删除最后的引号,则链接有效。

Please download Java 11 because Java 14 (the latest) was just released and we don't officially support it yet.请下载 Java 11,因为 Java 14(最新)刚刚发布,我们还没有正式支持它。 H2O system requirements (Java 8-13) are listed here . 此处列出了 H2O 系统要求 (Java 8-13)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM