Simple wrapper to ggsave setting limitsize=FALSE and device=cairo_pdf by default.

ggsave2(filename, plot = ggplot2::last_plot(), ...)

Arguments

filename

[character(1)]
Path to file.

plot

[ggplot]
ggplot object. Defaults to last plot.

...

[any]
Further parameters passed down to ggsave.

Value

Nothing