png: Create a styled png figure

View source: R/RcssWrappers.R

pngR Documentation

Create a styled png figure

Description

This is a wrapper for R's png function. See R's documentation for grDevices::png for further details.

Usage

png(file, Rcss = "default", Rcssclass = NULL, ...)

Arguments

file

character string with file name

Rcss

style sheet object. Leave "default" to use a style defined via RcssSetDefaultStyle()

Rcssclass

character, style class

...

Further parameters, see documentation of grDevices::png

Examples


# send content of graphics to a png file
# to run this, un-comment the png() and dev.off() lines
# png(file="example-file.png")
barplot(1:5)
# dev.off()


Rcssplot documentation built on April 4, 2025, 2:35 a.m.