1
library(quantmod)
getSymbols("AAPL")
我得到:
Error in curl::curl_download(cu, tmp, handle = h) :
Couldn't connect to server
我sessionInfo
:
> sessionInfo()
R version 3.4.1 (2017-06-30)
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] quantmod_0.4-10 TTR_0.23-1 xts_0.9-7 zoo_1.8-0
loaded via a namespace (and not attached):
[1] compiler_3.4.1 tools_3.4.1 curl_2.7 grid_3.4.1 lattice_0.20-35
>
任何想法?
尝试重新运行它几次 – AK88
我试图重新运行它几次,仍然得到相同的答案...任何建议? – user8258891
错误提示'curl'无法连接到互联网。运行这个命令并编辑它的输出到你的问题中:'w < - curl :: curl_fetch_memory(“https://finance.yahoo.com”,curl :: new_handle(verbose = TRUE))''。 –