使用ggmap
中的get_map
函数时,大约90%的时间我会遇到以下错误。请问有人能告诉我为什么吗?
map <- get_map(location = 'Australia', zoom = 4)
Error in download.file(url, destfile = destfile, quiet = !messaging,
mode = "wb"): 无法打开网址 'http://maps.googleapis.com/maps/api/staticmap?center=Australia&zoom=4&size=%20640x640&scale=%202&maptype=terrain&sensor=false'。此外,警告信息为:在download.file(url,destfile = destfile,quiet =!messaging,mode =“wb”)中:无法打开:HTTP状态为“403 Forbidden”。