當您嘗試從GitHub的倉庫安裝一些包的R解決方案。如何install_github時,有一個代理
install_github('rWBclimate', 'ropensci')
如果你有以下錯誤:
Installing github repo(s) rWBclimate/master from ropensci
Downloading rWBclimate.zip from https://github.com/ropensci/rWBclimate/archive/master.zip
Error in function (type, msg, asError = TRUE) :
Could not resolve host: github.com; Host not found, try again
顯示此錯誤的原因R是試圖通過代理訪問Intenet。
歡迎的StackOverflow!雖然您極力鼓勵您提供您遇到並克服的問題的解決方案,但我們更希望您僅將問題框用於問題。您可以隨時使用提供的答案框回答自己的問題。有一些[規則](http://stackoverflow.com/help/self-answer)可以回答你自己的問題,你可能需要遵循。而你永遠不知道,有人可能會發布另一個你沒有想到的答案,讓你感到驚訝! – Enigmadan
你應該真的把下面的答案標記爲接受... –