defaultPngDevice: Determine the best PNG device for your system

View source: R/images.R

defaultPngDeviceR Documentation

Determine the best PNG device for your system

Description

Returns the best PNG-based graphics device for your system, in the opinion of the htmltools maintainers. On Mac, grDevices::png() is used; on all other platforms, either ragg::agg_png() or Cairo::CairoPNG() are used if their packages are installed. Otherwise, grDevices::png() is used.

Usage

defaultPngDevice()

Value

A graphics device function.


rstudio/htmltools documentation built on March 29, 2024, 2:22 p.m.