R.devices2.17.3 package

Unified Handling of Graphics 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

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) devices

devEval

Opens a new graphics device, evaluate (graphing) code, and closes devi...

DevEvalFileProduct

The DevEvalFileProduct class

DevEvalProduct

The DevEvalProduct class

devGetLabel

Gets the labels of zero or more devices

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

nulldev

A "null" graphics device voiding all output

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 temporarily

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.

  • Maintainer: Henrik Bengtsson
  • License: LGPL (>= 2.1)
  • Last published: 2025-12-18