Rcssplot (version 1.0.0)

pdf: Create a styled pdf figure

Description

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

Usage

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

Examples

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

# }

Run the code above in your browser using DataLab