R ggmaps not loading map

806 Views Asked by At

I'm new to R following an online tutorial. However, my attempt is failing at a seemingly easy juncture:

coords.map <- get_stamenmap(map_bounds, zoom = 7, maptype = "toner-lite")

This command returns the error:

could not find function get_stamenmap

I have tried some more 'get map' type commands and they seem to work, suggesting it is down to this particular code.

What is causing this error?

0

There are 0 best solutions below