createGraphicsDevice | R Documentation |
This function is responsible for creating a new R graphics device for a plot that is created via the evaluation of code within an R-Docbook dynamic document. This is not usually called directly, but implicitly by the functions evaluating code in a dynamic document.
createGraphicsDevice(node, dev = c(jpg = jpeg), dir = character(), verbose = FALSE, dynOpts)
node |
the XML node describing the plot and providing information about the format, size, etc. of the desired device |
dev |
a named list giving the graphics device function and the
name giving the format of the device. This is over-ridden by a
file attribute on the |
dir |
the directory in which the plot is created, by default |
verbose |
a logical value indicating whether to emit information on the console about the activities of the function. |
dynOpts |
the |
This is called for the side effect of creating an R graphics device in which subsequent graphics commands are displayed.
Duncan Temple Lang
dynDoc
# This is not usually called directly, but implicitly
# by the functions evaluating code in a dynamic document.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.