Learn R Programming

TDMR (version 2.2)

tdmGraphicInit: Initialize graphic device.

Description

Open multipage PDF or (create and) clear opts$GD.PNGDIR.

Usage

tdmGraphicInit(opts, ...)

Arguments

opts

with opts$GD.DEVICE one out of [ "pdf" | "png" | "win" | "rstudio" | "non" ]

"pdf"

plot everything in one multipage pdf file opts$PDFFILE

"png"

each plot goes into a new png file in opts$GD.PNGDIR

"win"

each plot goes into a new window (dev.new())

"rstudio"

plot everything to the RStudio plot device (has a history)

"non"

all plots are suppressed

...

optional arguments to hand over to pdf (the other devices require no further arguments)