Closed aakarner closed 7 years ago
What version of ggmap are you using?
Looks like 2.6.1.
I am not being able to reproduce your error neither in ubuntu nor in windows. Your definition of ggm1
is as the following?
(ggm1 <- ggplot(map, aes(fill = nots)) +
geom_sf())
Yes, that's right.
I just tried it on a different windows computer with the exact same packages installed and it worked as expected without the error - I'm not sure precisely what that implies.
I don't either. I would reinstall R and theses packages. If you do it, let me know if that fix the problem.
Reinstalling ggmap, ggplot2, and sf fixed the problem.
I've installed ggsn 0.4.6 and ggplot2 2.2.1.9000. When I try to run the example code:
I get:
My session info: