我刚接触R语言,现在正在阅读这篇文章学习ggmap技术。
qmap("Forbidden city",zoom=15)
qmap("Forbidden city",zoom=15, source="osm")
虽然第一个命令可以正常工作,但第二个命令给我返回了一个错误信息:
从URL地图:http://maps.googleapis.com/maps/api/staticmap?center=Forbidden+city& zoom=15&size=%20640x640&maptype=terrain&sensor=false Google Maps API服务条款:http://developers.google.com/maps/terms 来自URL的信息:http://maps.googleapis.com/maps/api/geocode/json?address=Forbidden+city&sensor=false Google Maps API服务条款:http://developers.google.com/maps/terms 错误:地图抓取失败-请参见?get_openstreetmap中的详细信息。 此外,警告消息: 在download.file(url,destfile = destfile,quiet = !messaging,mode =“wb”)中: 无法打开:HTTP状态为'503 Service Unavailable'
需要帮助请回复。