ggsave
for recordedplot
Class ObjectsThis is a modified function of ggsave
for recordedplot
class
objects.
ggsaveKmg2(
filename = default_name(plot),
plot = last_plot(),
device = default_device(filename),
path = NULL,
scale = 1,
width = par("din")[1],
height = par("din")[2],
units = c("in", "cm", "mm"),
dpi = 300,
...
)
file name/filename of plot
plot to save, defaults to last plot displayed
device to use, automatically extract from file name extension
path to save plot to (if you just want to set path and not filename)
scaling factor
width (defaults to the width of current plotting window)
height (defaults to the height of current plotting window)
units for width and height when either one is explicitly specified (in, cm, or mm)
dpi to use for raster graphics
other arguments passed to graphics device