简体   繁体   English

R的h2oEnsemble软件包安装错误

[英]Error with h2oEnsemble package installation for R

I'm trying to install h2oEnsemble package on R 3.2.3. 我正在尝试在R 3.2.3上安装h2oEnsemble软件包。 I have H2O 3.10.0.8 package. 我有H2O 3.10.0.8程序包。 When I write these commands: 当我编写这些命令时:

library(devtools) install_github("h2oai/h2o-3/h2o-r/ensemble/h2oEnsemble-package")

I get the next error: 我收到下一个错误:

Downloading GitHub repo h2oai/h2o-3@master from URL https://api.github.com/repos/h2oai/h2o-3/zipball/master Installing h2oEnsemble "C:/Program Files/R/R-3.2.3/bin/x64/R" --no-site-file --no-environ --no-save \\ --no-restore --quiet CMD INSTALL \\ "C:/Users/User/AppData/Local/Temp/Rtmpi0Q2AV/devtools9583548338a/h2oai-h2o-3-a0a4bbc/h2o-r/ensemble/h2oEnsemble-package" \\ --library="C:/Users/User/Documents/R/win-library/3.2" --install-tests "C:\\Program" Ҝ пү«пҜвбп үгваҜҜ© Ё«Ё үҜиҜ© Ө®¬ ¤®©, ЁбÜ®«пҜ¬®© Üа®Ҹа ¬¬®© Ё«Ё Ü ӨҜвл¬ д ©«®¬. Error: Command failed (1)

Please, help me to solve this problem. 请帮我解决这个问题。 Thanks. 谢谢。

It seems, your error is : 看来,您的错误是:

'C:\\Program' is not recognized as an internal or external command, operable program or batch file. 无法将“ C:\\ Program”识别为内部或外部命令,可操作程序或批处理文件。 Error: Command failed (1) 错误:命令失败(1)

It happens due to the space character in location path (C:\\Program Files) path. 这是由于位置路径(C:\\ Program Files)路径中的空格字符引起的。 According to the documentation, 根据文档,

If you want to be able to build packages from sources, we recommend that you choose an 
installation path not containing spaces.

Please refer the link : How do I install R for Windows? 请参考链接: 如何安装Windows R?

Try changing the installation location. 尝试更改安装位置。 Then it should work fine. 然后它应该工作正常。

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

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