Learn R Programming

rayimage (version 0.26.1)

linear_png_device: Select PNG Device

Description

Internal helper to pick the best available PNG graphics device. Uses ragg::agg_png() by default, then falls back to a Cairo-backed grDevices::png() device when use_ragg = FALSE, and finally to the base PNG device.

Usage

linear_png_device(use_ragg = TRUE)

Arguments

use_ragg

Default TRUE. If TRUE, return ragg::agg_png(). Set to FALSE to skip ragg.