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...

Functions

architecture Man page
as.architecture Man page
as.character Man page
as.character.DevEvalFileProduct Man page
as.character.DevEvalProduct Man page
as.character,DevEvalProduct-method Man page
asDataURI Man page
capabilitiesX11 Man page
capturePlot Man page
devDone Man page
devDump Man page
devEval Man page
DevEvalFileProduct Man page
DevEvalFileProduct.getData Man page
DevEvalFileProduct.getDataURI Man page
DevEvalFileProduct.getExtension Man page
DevEvalFileProduct.getFilename Man page
DevEvalFileProduct.getMime Man page
DevEvalFileProduct.getMimeType Man page
DevEvalFileProduct.getPath Man page
DevEvalFileProduct.getPathname Man page
DevEvalProduct Man page
DevEvalProduct.as.character Man page
DevEvalProduct.getFullname Man page
DevEvalProduct.getName Man page
DevEvalProduct.getTags Man page
DevEvalProduct.getType Man page
devGetLabel Man page
devIsInteractive Man page
devIsOpen Man page
devList Man page
devNew Man page
devOff Man page
devOptions Man page
devSet Man page
devSetLabel Man page
eps Man page
favicon Man page
getData Man page
getData.DevEvalFileProduct Man page
getData,DevEvalFileProduct-method Man page
getDataURI Man page
getDataURI.DevEvalFileProduct Man page
getDataURI,DevEvalFileProduct-method Man page
getDevOption Man page
getExtension Man page
getExtension.DevEvalFileProduct Man page
getExtension,DevEvalFileProduct-method Man page
getFilename Man page
getFilename.DevEvalFileProduct Man page
getFilename,DevEvalFileProduct-method Man page
getFullname Man page
getFullname.DevEvalFileProduct Man page
getFullname.DevEvalProduct Man page
getFullname,DevEvalProduct-method Man page
getMime Man page
getMime.DevEvalFileProduct Man page
getMime,DevEvalFileProduct-method Man page
getMimeType Man page
getMimeType.DevEvalFileProduct Man page
getMimeType,DevEvalFileProduct-method Man page
getName Man page
getName.DevEvalProduct Man page
getName,DevEvalProduct-method Man page
getPath Man page
getPath.DevEvalFileProduct Man page
getPath,DevEvalFileProduct-method Man page
getPathname Man page
getPathname.DevEvalFileProduct Man page
getPathname,DevEvalFileProduct-method Man page
getTags Man page
getTags.DevEvalProduct Man page
getTags,DevEvalProduct-method Man page
getType Man page
getType.DevEvalProduct Man page
getType,DevEvalProduct-method Man page
jpeg2 Man page
Non-documented objects Man page
png2 Man page
print.RecordedPlot Man page
R.devices Man page
R.devices-package Man page
toBMP Man page
toCairoPNG Man page
toCairoWin Man page
toCairoX11 Man page
toDefault Man page
toEMF Man page
toEPS Man page
toFavicon Man page
toJavaGD Man page
toNNN Man page
toPDF Man page
toPNG Man page
toQuartz Man page
toSVG Man page
toTIFF Man page
toWindows Man page
toWMF Man page
toX11 Man page
withPar Man page

Files

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.

Please suggest features or report bugs with the GitHub issue tracker.

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