gridsvg(name = "Rplots.svg", exportCoords = c("none", "inline", "file"), exportMappings = c("none", "inline", "file"), exportJS = c("none", "inline", "file"), res = NULL, prefix = "", addClasses = FALSE, indent = TRUE, htmlWrapper = FALSE, usePaths = c("vpPaths", "gPaths", "none", "both"), uniqueNames = TRUE, annotate = TRUE, progress = FALSE, compression = 0, strict = TRUE, rootAttrs = NULL, xmldecl = xmlDecl(), ...)
dev.off(which = dev.cur())
grid.export
.
NULL
pdf
graphics device. Useful parameters include
width
and height
.
gridsvg
returns nothing.dev.off
will return in the same manner as
grid.export
. A list is always returned, but invisibly
when an invalid filename is given.
grid.export
. It uses a PDF
device as drawing occurs, but when the device needs to be written out
(via dev.off
) then it will save an SVG image instead. When a grid display list is not in use, or any device other than the
gridsvg
device is used, the behaviour of dev.off
is the
same as dev.off
from the grDevices
package.
pdf
and grid.export
.