ggsave2: Export ggplot object to file

View source: R/ggsave2.R

ggsave2R Documentation

Export ggplot object to file

Description

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

Usage

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


jakobbossek/re documentation built on Nov. 15, 2024, 1:42 a.m.