Temporarily use a graphics device.
Usage
with_bmp(new, code, ...)
local_bmp(new, ..., .local_envir = parent.frame())
with_cairo_pdf(new, code, ...)
local_cairo_pdf(new, ..., .local_envir = parent.frame())
with_cairo_ps(new, code, ...)
local_cairo_ps(new, ..., .local_envir = parent.frame())
with_pdf(new, code, ...)
local_pdf(new, ..., .local_envir = parent.frame())
with_postscript(new, code, ...)
local_postscript(new, ..., .local_envir = parent.frame())
with_svg(new, code, ...)
local_svg(new, ..., .local_envir = parent.frame())
with_tiff(new, code, ...)
local_tiff(new, ..., .local_envir = parent.frame())
with_xfig(new, code, ...)
local_xfig(new, ..., .local_envir = parent.frame())
with_png(new, code, ...)
local_png(new, ..., .local_envir = parent.frame())
with_jpeg(new, code, ...)
local_jpeg(new, ..., .local_envir = parent.frame())Details
with_bmp()andlocal_bmp()wrap aroundgrDevices::bmp().with_cairo_pdf()andlocal_cairo_pdf()wrap aroundgrDevices::cairo_pdf().with_cairo_ps()andlocal_cairo_ps()wrap aroundgrDevices::cairo_ps().with_pdf()andlocal_pdf()wrap aroundgrDevices::pdf().with_postscript()andlocal_postscript()wrap aroundgrDevices::postscript().with_svg()andlocal_svg()wrap aroundgrDevices::svg().with_tiff()andlocal_tiff()wrap aroundgrDevices::tiff().with_xfig()andlocal_xfig()wrap aroundgrDevices::xfig().with_png()andlocal_png()wrap aroundgrDevices::png().with_jpeg()andlocal_jpeg()wrap aroundgrDevices::jpeg().
