makePdf: Write to a pdf, but allow printing to the default device...

Description Usage Arguments

Description

Write to a pdf, but allow printing to the default device first.

Usage

1
makePdf(file, plotFn, printToDefaultDev = T, ...)

Arguments

file

The filename to be passed to pdf()

plotFn

A function that wraps the plot statement. Should not take any arguments.

printToDefaultDev

If TRUE (default), the plot function will first be called without opening the pdf graphics device. Thus, it will print to the screen, or in your markdown output, etc.


Cmell/CMUtils documentation built on June 26, 2019, 4:34 p.m.