Is it about time ggsave (and Plots window in RStudio) used type = 'cairo' by default in Windows? Default plots have terrible aliasing
ggplot(iris, aes(x = Petal.Width, y = Sepal.Length)) +
geom_point() +
stat_smooth(method = "lm", col = "red") +
labs(title = "Normal") +
ggsave("normal.png") +
labs(title = "Cairo") +
ggsave("cairo.png", type = "cairo")
(Notice aliasing around points and line in normal plot)
It would also be great if RStudio rendered plots with cairo
in the plots pane.