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]]
______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.