Hi,
When plotting a map of the USA using ggplot2 and maps data, it results in a large triangle missing from the center.
Code:
library("maps")
library("tidyverse")
usa <- map_data("usa")
ggplot(usa) +
geom_polygon(aes(x = long, y = lat), fill = "darkgreen")
results in the following:
But when exported to a pdf the image is complete.
Versions:
Windows - 10
RStudio - 2021.09.1 Build 372
R - 4.1.1
Not sure what the cause of this problem may be.