Stavo cercando di utilizzare la funzione ggmap qmap (http://www.inside-r.org/packages/cran/ggmap/docs/qmap)R ggmap (qmap) Errore per la mappa type = 'acquerello'
qmap(location = 'baylor university', zoom = 14, maptype = 'watercolor', source = 'stamen')
E ottenuto il seguente errore:
qmap(location = 'baylor university', zoom = 14, maptype = 'watercolor', source = 'stamen') Map from URL : http://maps.googleapis.com/maps/api/staticmap?center=baylor+university&zoom=14&size=%20640x640&maptype=terrain&sensor=false Google Maps API Terms of Service : http://developers.google.com/maps/terms Information from URL : http://maps.googleapis.com/maps/api/geocode/json?address=baylor+university&sensor=false Google Maps API Terms of Service : http://developers.google.com/maps/terms Error in readPNG(destfile) : file is not in PNG format
Sembra che si sta tentando di eseguire qualcosa dagli esempi trovati in 'ggmap'?? Dovresti notare che il codice di esempio trovato '? Ggmap' è racchiuso tra' ## Non eseguito: '/' \ dontrun {} '. Il che, secondo [questa risposta SO] (http://stackoverflow.com/a/1454340/1305688), significa che il codice 'non deve essere eseguito nella funzione di esempio '. O perché richiede troppo tempo o perché richiede l'input dell'utente. Sospetto che quest'ultimo sia il caso in questo esempio. –