I am on a Mac (2016 MBP 15" with 16GB memory) and am testing out the development version of ggplot2
with sf
plotting support.
Overall I am loving it, but I am finding geom_sf
to be very slow when plotting larger sf
polygons objects. I think I've narrowed it down to the quartz
graphics device, which is much slower than X11
on these large objects (however quartz
produces nicer graphics than X11
).
I would be happy to just use X11
but I do like having plots appear in the plot pane in RStudio, and I believe the RStudio Graphics Device uses quartz
on Mac OS and I don't think there's a way to change that. So I'm not sure if this is really a ggplot2/sf issue or if it's a Mac quartz
issue... or possibly even an RStudio issue, but I thought I would post it here first to see if others are experiencing the same thing.
I also did the same comparison with sf
's plot
method - there is still a large difference between X11
and quartz
, however overall it is faster than ggplot2::geom_sf
.
Inte