问题描述
我正在尝试使用以下方法从“naturalearthdata”下载数据:
lakes <- ne_download(scale = 10,type = 'reefs',category = 'physical')
但我明白了:
Error in utils::download.file(file.path(address),zip_file <- tempfile()) : cannot open URL 'http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/physical/ne_10m_lakes.zip'
2.
utils::download.file(file.path(address),zip_file <- tempfile())
1.
ne_download(scale = 10,type = "lakes",category = "physical",returnclass = "sf")
我找到了 that 但我可以解决问题。我尝试直接从源下载,它可以工作, 但是当我尝试“https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/physical/ne_10m_lakes.zip”
我收到:“您的网站出现严重错误”
我能做什么? 获得相同结果的一种方法是使用手动下载的数据,我该怎么做?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)