CatherineLiu 如题,想用ggmap画地图,但第一步就报错, map <- get_map(location = 'Taiwan', zoom = 7) Error in download.file(url, destfile = tmp, quiet = !messaging, mode = "wb") : cannot open URL 'http://maps.googleapis.com/maps/api/staticmap?center=Taiwan&zoom=7&size=640x640&scale=2&maptype=terrain&language=en-EN&sensor=false' In addition: Warning message: In download.file(url, destfile = tmp, quiet = !messaging, mode = "wb") : cannot open URL 'http://maps.googleapis.com/maps/api/staticmap?center=Taiwan&zoom=7&size=640x640&scale=2&maptype=terrain&language=en-EN&sensor=false': HTTP status was '403 Forbidden' 需要怎么设置?
tctcab CatherineLiu 搜了一下,谷歌API改了, cran上的GGMAP挺老的了…要正常工作得自己弄google api而且看起来好像是收费的说… https://github.com/dkahle/ggmap