等待时间过长,download.file不起作用

时间:2019-03-01 13:32:13

标签: r

我有一个内部网页,在下载开始之前执行SQL查询(加载超过6分钟),尝试使用download.file时,我收到一个错误消息(download.file在其他类似的内部网页上也可以正常工作)。

下面是我的控制台消息,我已经隐藏了网址

Error in download.file(url = ., destfile = paste(getwd(), "/input/", file.name,  : 
  cannot open URL ''
In addition: Warning message:
In download.file(url = ., destfile = paste(getwd(), "/input/", file.name,  :
  InternetOpenUrl failed: 'The operation timed out'
Called from: download.file(url = ., destfile = paste(getwd(), "/input/", 
    file.name, sep = ""), quiet = TRUE)

0 个答案:

没有答案