toNNN | R Documentation |
Methods for creating image files of a specific format.
toBMP(name, ...)
toPDF(name, ...)
toPNG(name, ...)
toSVG(name, ...)
toTIFF(name, ...)
toEMF(name, ..., ext="emf")
toWMF(name, ..., ext="wmf")
toFavicon(..., name="favicon", ext="png",
field=getDevOption("favicon", "field", default="htmlscript"))
toDefault(name, ...)
toQuartz(name, ...)
toX11(name, ...)
toWindows(name, ...)
toCairoWin(name, ...)
toCairoX11(name, ...)
toRStudioGD(name, ..., .allowUnknownArgs = TRUE)
name |
A |
... , .allowUnknownArgs |
Additional arguments passed to |
ext , field |
Passed to |
Returns by default the DevEvalProduct
.
For toFavicon()
the default return value is a character
string.
Both toEMF()
and toWMF()
use the exact same graphics
device (win.metafile()
) and settings. They only differ by
filename extension. The win.metafile()
device function exists
on Windows only; see the grDevices package for more details.
Henrik Bengtsson
These functions are wrappers for devEval
().
See devOptions
() to change the default dimensions for
a specific device type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.