defaultPngDevice: Determine the best PNG device for your system

Description Usage Value

View source: R/images.R

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

1

Value

A graphics device function.


htmltools documentation built on Jan. 23, 2021, 1:06 a.m.