R.devices: Unified Handling of Graphics Devices

Functions for creating plots and image files in a unified way regardless of output format (EPS, PDF, PNG, SVG, TIFF, WMF, etc.). Default device options as well as scales and aspect ratios are controlled in a uniform way across all device types. Switching output format requires minimal changes in code. This package is ideal for large-scale batch processing, because it will never leave open graphics devices or incomplete image files behind, even on errors or user interrupts.

AuthorHenrik Bengtsson [aut, cre, cph]
Date of publication2016-11-10 13:16:53
MaintainerHenrik Bengtsson <henrikb@braju.com>
LicenseLGPL (>= 2.1)
Version2.15.1
https://github.com/HenrikBengtsson/R.devices

View on CRAN

Man pages

architecture: Get the architecture of an object or coerce it into another

as.character.DevEvalProduct: Gets a character representation of the product

capabilitiesX11: Check whether current R session supports X11 or not

capturePlot: Captures a plot such that it can be redrawn later/elsewhere

devDone: Closes zero or more open devices except screen (interactive)...

devEval: Opens a new graphics device, evaluate (graphing) code, and...

DevEvalFileProduct: The DevEvalFileProduct class

DevEvalProduct: The DevEvalProduct class

devGetLabel: Gets the labels of zero or more devices

devIsInteractive: Checks whether a device type is interactive or not

devIsOpen: Checks if zero or more devices are open or not

devList: Lists the indices of the open devices named by their labels

devNew: Opens a new device

devOff: Closes zero or more devices

devOptions: Gets the default device options

devSet: Activates a device

devSetLabel: Sets the label of a device

eps: EPS graphics device

favicon: Favicon graphics device

getDataURI.DevEvalFileProduct: Gets content as a Base64-encoded data URI

getFullname.DevEvalProduct: Gets the full name, name and tags

getMimeType.DevEvalFileProduct: Gets the MIME type

getPathname.DevEvalFileProduct: Gets the (relative) pathname, filename and path

getType.DevEvalProduct: Gets the type

jpeg2: A JPEG device for Bitmap Files via GhostScript

Non-documented_objects: Non-documented objects

png2: A PNG device for Bitmap Files via GhostScript

print.RecordedPlot: Automatically replays a recorded plot

R.devices-package: Package R.devices

toNNN: Methods for creating image files of a specific format

withPar: Evaluate an R expression with graphical parameters set...

Files in this package

R.devices
R.devices/inst
R.devices/inst/exdata
R.devices/inst/exdata/capturePlot,ostype=unix,arch=x86_64,ptrsize=8,endian=little.rds
R.devices/inst/exdata/capturePlot,ostype=unix,arch=i686,ptrsize=4,endian=little.rds
R.devices/inst/exdata/capturePlot,ostype=windows,arch=x86_64,ptrsize=8,endian=little.rds
R.devices/inst/exdata/capturePlot,ostype=windows,arch=i386,ptrsize=4,endian=little.rds
R.devices/inst/doc
R.devices/inst/doc/R.devices-overview.R
R.devices/inst/doc/R.devices-overview.pdf
R.devices/inst/doc/R.devices-overview.tex.rsp
R.devices/tests
R.devices/tests/devEqualTypes.R
R.devices/tests/devIsOpen.R
R.devices/tests/devListIndexOf.R
R.devices/tests/devDump.R
R.devices/tests/capturePlot.R
R.devices/tests/DevEvalFileProduct.R
R.devices/tests/favicon.R
R.devices/tests/withPar.R
R.devices/tests/devEval.R
R.devices/tests/devSet.R
R.devices/tests/dataURI.R
R.devices/tests/toNNN.R
R.devices/tests/devNew.R
R.devices/tests/capabilitiesX11.R
R.devices/tests/devList.R
R.devices/tests/devTypeName.R
R.devices/tests/devIsInteractive.R
R.devices/tests/devOptions.R
R.devices/tests/devEval,error.R
R.devices/tests/DevEvalProduct.R
R.devices/tests/devAll.R
R.devices/NAMESPACE
R.devices/NEWS
R.devices/R
R.devices/R/utils.R R.devices/R/000.R R.devices/R/deviceUtils.R R.devices/R/capturePlot.R R.devices/R/eps.R R.devices/R/favicon.R R.devices/R/jpeg2.R R.devices/R/withPar.R R.devices/R/devEval.R R.devices/R/recordedplot-methods.R R.devices/R/toNNN.R R.devices/R/devNew.R R.devices/R/capabilitiesX11.R R.devices/R/devOptions.R R.devices/R/006.fixVarArgs.R R.devices/R/DevEvalProduct.R R.devices/R/999.NonDocumentedObjects.R R.devices/R/999.package.R R.devices/R/zzz.R R.devices/R/png2.R
R.devices/vignettes
R.devices/vignettes/R.devices-overview.tex.rsp
R.devices/MD5
R.devices/build
R.devices/build/vignette.rds
R.devices/DESCRIPTION
R.devices/man
R.devices/man/capturePlot.Rd R.devices/man/favicon.Rd R.devices/man/png2.Rd R.devices/man/DevEvalFileProduct.Rd R.devices/man/devNew.Rd R.devices/man/toNNN.Rd R.devices/man/devDone.Rd R.devices/man/jpeg2.Rd R.devices/man/devIsInteractive.Rd R.devices/man/getMimeType.DevEvalFileProduct.Rd R.devices/man/as.character.DevEvalProduct.Rd R.devices/man/getDataURI.DevEvalFileProduct.Rd R.devices/man/devGetLabel.Rd R.devices/man/getFullname.DevEvalProduct.Rd R.devices/man/print.RecordedPlot.Rd R.devices/man/devSetLabel.Rd R.devices/man/devOff.Rd R.devices/man/capabilitiesX11.Rd R.devices/man/devEval.Rd R.devices/man/DevEvalProduct.Rd R.devices/man/devSet.Rd R.devices/man/getPathname.DevEvalFileProduct.Rd R.devices/man/R.devices-package.Rd R.devices/man/devOptions.Rd R.devices/man/eps.Rd R.devices/man/withPar.Rd R.devices/man/devIsOpen.Rd R.devices/man/getType.DevEvalProduct.Rd R.devices/man/devList.Rd R.devices/man/architecture.Rd R.devices/man/Non-documented_objects.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.