簡體   English   中英

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")

我收到下一個錯誤:

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)

請幫我解決這個問題。 謝謝。

看來,您的錯誤是:

無法將“ C:\\ Program”識別為內部或外部命令,可操作程序或批處理文件。 錯誤:命令失敗(1)

這是由於位置路徑(C:\\ Program Files)路徑中的空格字符引起的。 根據文檔,

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

請參考鏈接: 如何安裝Windows R?

嘗試更改安裝位置。 然后它應該工作正常。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM