Users of ggplot2 often run into issues with their saved graphics not having the expected resolution or font sizes. By default, when using RStudio, ggsave() saves graphics at the last dimensions of the plot preview pane and at screen resolution. As a demo, try Then resize the plot preview pane …

Continue reading: Save ggplot Graphics at Intended End-use Dimensions and Resolutions for Best …