当您尝试从GitHub的存储库安装一些R包时
install_github('rWBclimate', 'ropensci')
Run Code Online (Sandbox Code Playgroud)
如果您有以下错误:
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
Run Code Online (Sandbox Code Playgroud)
显示此错误是因为R尝试通过代理在Intenet上访问.
我正在尝试在 Windows 10 (WSL2 - Ubuntu 20.04LTS) 中安装 docker 并运行以下命令,它不起作用,控制台显示此消息“gpg:无法连接到代理:IPC 连接呼叫失败”
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
Run Code Online (Sandbox Code Playgroud)