jpeg {Rcssplot}R Documentation

Create a styled jpg figure

Description

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

Usage

jpeg(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::jpeg

Examples


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


[Package Rcssplot version 1.0.0 Index]