R 的 h2oEnsemble 包安装错误
Error with h2oEnsemble package installation for R
我正在尝试在 R 3.2.3 上安装 h2oEnsemble 包。我有 H2O 3.10.0.8 包。当我写这些命令时:
library(devtools)
install_github("h2oai/h2o-3/h2o-r/ensemble/h2oEnsemble-package")
我收到下一个错误:
正在下载GitHub repo h2oai/h2o-3@master
来自 URL https://api.github.com/repos/h2oai/h2o-3/zipball/master
安装 h2oEnsemble
"C:/Program Files/R/R-3.2.3/bin/x64/R" --no-site-file --no-environ --no-save \
--no-restore --quiet CMD 安装 \
"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" ¡
Ө®¬ ¤®©, ИбÜ®«пя¬®© Üа®а ¬¬®© Ё«Ё Ü Ө͜вл¬ д ©«®¬。
错误:命令失败 (1)
请帮我解决这个问题。谢谢
看来,你的错误是:
'C:\Program' is not recognized as an internal or external command,
operable program or batch file. Error: Command failed (1)
这是由于位置路径 (C:\Program Files) 路径中的 space 字符造成的。根据文档,
If you want to be able to build packages from sources, we recommend that you choose an
installation path not containing spaces.
请参考 link : How do I install R for Windows?
尝试更改安装位置。那么它应该可以正常工作。
我正在尝试在 R 3.2.3 上安装 h2oEnsemble 包。我有 H2O 3.10.0.8 包。当我写这些命令时:
library(devtools)
install_github("h2oai/h2o-3/h2o-r/ensemble/h2oEnsemble-package")
我收到下一个错误:
正在下载GitHub repo h2oai/h2o-3@master
来自 URL https://api.github.com/repos/h2oai/h2o-3/zipball/master
安装 h2oEnsemble
"C:/Program Files/R/R-3.2.3/bin/x64/R" --no-site-file --no-environ --no-save \
--no-restore --quiet CMD 安装 \
"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" ¡
Ө®¬ ¤®©, ИбÜ®«пя¬®© Üа®а ¬¬®© Ё«Ё Ü Ө͜вл¬ д ©«®¬。
错误:命令失败 (1)
请帮我解决这个问题。谢谢
看来,你的错误是:
'C:\Program' is not recognized as an internal or external command, operable program or batch file. Error: Command failed (1)
这是由于位置路径 (C:\Program Files) 路径中的 space 字符造成的。根据文档,
If you want to be able to build packages from sources, we recommend that you choose an
installation path not containing spaces.
请参考 link : How do I install R for Windows?
尝试更改安装位置。那么它应该可以正常工作。