Skip to contents

Wraps ggplot2::ggsave() while activating showtext only for this call, ensuring font rendering without leaving global side effects.

Usage

ggsave_st(filename, plot, ...)

Arguments

filename

File name to create on disk.

plot

Plot to save, defaults to last plot displayed.

...

Other arguments passed on to the graphics device function, as specified by device.