[R] How to save google map in r ?
    Kristi Glover 
    kr|@t|@g|over @end|ng |rom hotm@||@com
       
    Sun Nov 17 10:48:03 CET 2019
    
    
  
Hi R users,
I am struggling to save the map with georeferenced (TIFF) that was imported from google map. I would be very grateful with your input. How can I save this image and reuse it when I need? I used the following code
library(ggmap)
library(mapproj)
map <- get_map(location = 'Europe', zoom = 4)
ggmap(map)
writeRaster(map, filename = "texting.tif")
but got the following message
"Error in (function (classes, fdef, mtable)  :
  unable to find an inherited method for function �writeRaster� for signature �"gg", "character"�"
thanks
	[[alternative HTML version deleted]]
    
    
More information about the R-help
mailing list