ragg_png: Easy ragg-based plots

View source: R/ragg_png.R

ragg_pngR Documentation

Easy ragg-based plots

Description

A [ggplot2::ggsave] equivalent using the 'ragg' package to produce better png images.

Usage

ragg_png(file, plot = NULL, width = 600, height = 600, overwrite = NULL, ...)

Arguments

file

The file name of the image

plot

The plot to save, uses 'ggplot2::last_plot()' if left as 'NULL'

width

The width in pixels

height

The height in pixels

overwrite

Whether to overwrite existing files

...

Arguments passed down to 'ragg::agg_png()'


mattkerlogue/mattR documentation built on July 11, 2024, 3:17 p.m.