R.devices v2.16.0


Monthly downloads



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.

Functions in R.devices

Name Description
png2 A PNG device for Bitmap Files via GhostScript
getPathname.DevEvalFileProduct Gets the (relative) pathname, filename and path
jpeg2 A JPEG device for Bitmap Files via GhostScript
nulldev A \"null\" graphics device voiding all output
withPar Evaluate an R expression with graphical parameters set temporarily
toNNN Methods for creating image files of a specific format
getFullname.DevEvalProduct Gets the full name, name and tags
getType.DevEvalProduct Gets the type
getMimeType.DevEvalFileProduct Gets the MIME type
devGetLabel Gets the labels of zero or more devices
print.RecordedPlot Automatically replays a recorded plot
devIsInteractive Checks whether a device type is interactive or not
favicon Favicon graphics device
getDataURI.DevEvalFileProduct Gets content as a Base64-encoded data URI
architecture Get the architecture of an object or coerce it into another
capabilitiesX11 Check whether current R session supports X11 or not
Non-documented objects Non-documented objects
as.character.DevEvalProduct Gets a character representation of the product
devIsOpen Checks if zero or more devices are open or not
devNew Opens a new device
devList Lists the indices of the open devices named by their labels
devOff Closes zero or more devices
capturePlot Captures a plot such that it can be redrawn later/elsewhere
R.devices-package Package R.devices
devDone Closes zero or more open devices except screen (interactive) devices
devOptions Gets the default device options
devEval Opens a new graphics device, evaluate (graphing) code, and closes device
devSet Activates a device
DevEvalFileProduct The DevEvalFileProduct class
devSetLabel Sets the label of a device
DevEvalProduct The DevEvalProduct class
eps EPS graphics device
No Results!

Vignettes of R.devices

No Results!

Last month downloads


VignetteBuilder R.rsp
Date 2018-07-21
License LGPL (>= 2.1)
URL https://github.com/HenrikBengtsson/R.devices
BugReports https://github.com/HenrikBengtsson/R.devices/issues
LazyLoad TRUE
RoxygenNote 6.0.1
NeedsCompilation no
Packaged 2018-07-21 12:07:46 UTC; hb
Repository CRAN
Date/Publication 2018-07-21 12:30:03 UTC

Include our badge in your README