I'm trying to install the h2oEnsemble package on R version 3.2.3 to analyze the ensemble of models. Installed package H2O version 3.10.0.8. When you enter the following commands:

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

out message:

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 "pү" pҜvbp ү ҜҜ ҜҜ ҜҜ «үҜ үҜ Ҝ Ҝ Ҝ Ө Ө ¬ ¬ ¬ ¤ © ©, Error: Command failed (1)

Help, please understand what the problem is. Thank you in advance.

  • "C:\Program" не является внутренней или внешней командой, исполняемой программой или открытым файлом. it says - Sanek Zhitnik
  • @Sanek Zhitnik, thanks for the answer. And what could have caused this error? - Viktoriya Elidora
  • Most likely the installer took the path to the installation site without quotes. I took the space as the end of the path, so I could not find either a program like this or a file. Yes, and most likely you do not have such a folder) Do you yourself do not indicate the path? - Sanek Zhitnik
  • Not. And where should I register it? - Viktoriya Elidora

1 answer 1

Apparently you have a mistake:

"C: \ Program" or "batch file." Error: Command failed (1)

This error occurs due to the space of the directory (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. 

Information on this link: How do I install R for Windows?

Try changing the installation directory, this should work.

  • The official language of the site is Russian. Please add translation - cache
  • @cache now: sorry, don't know russian. :( - Nishu Tayal
  • Briefly: do not put R in the folder whose path contains spaces. - Sanek Zhitnik
  • @SanekZhitnik, thank you very much. Reinstalled R. Everything works :) - Viktoriya Elidora