我想在 R 中安装 plotly 包,来自 github
library(devtools)
install_github("ropensci/plotly")
我有一条错误消息:
Downloading github repo ropensci/plotly@master
Error in function (type, msg, asError = TRUE) : couldn't connect to host
我在网上搜索了一下,发现是代理的问题,我试过:
set_config(
use_proxy(url="https://github.com/ropensci/plotly", port=8080, username="***",password="***")
)
但仍然有同样的问题,我不知道在 url 和端口值中输入什么,我在 Githup 和 plotly 上有两个帐户
谢谢您的帮助