Learn R Programming

⚠️There's a newer version (2.17.2) of this package.Take me there.

R.devices (version 2.11.0)

Unified handling of graphics devices

Description

This package provides 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.

Copy Link

Version

Install

install.packages('R.devices')

Monthly Downloads

3,709

Version

2.11.0

License

LGPL (>= 2.1)

Maintainer

Henrik Bengtsson

Last Published

September 2nd, 2014

Functions in R.devices (2.11.0)

devIsOpen

Checks if zero or more devices are open or not
devNew

Opens a new device
DevEvalFileProduct

The DevEvalFileProduct class
eps

EPS graphics device
devSetLabel

Sets the label of a device
toNNN

Methods for creating image files of a specific format
devList

Lists the indices of the open devices named by their labels
getType.DevEvalProduct

Gets the type
png2

A PNG device for Bitmap Files via GhostScript
R.devices-package

Package R.devices
getPathname.DevEvalFileProduct

Gets the (relative) pathname, filename and path
devIsInteractive

Checks whether a device type is interactive or not
Non-documented objects

Non-documented objects
devSet

Activates a device
DevEvalProduct

The DevEvalProduct class
devDone

Closes zero or more open devices except screen (interactive) devices
devOff

Closes zero or more devices
getFullname.DevEvalProduct

Gets the full name, name and tags
as.character.DevEvalProduct

Gets a character representation of the product
jpeg2

A JPEG device for Bitmap Files via GhostScript
getMimeType.DevEvalFileProduct

Gets the MIME type
devOptions

Gets the default device options
withPar

Evaluate an R expression with graphical parameters set temporarily
devEval

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

Gets the labels of zero or more devices
getDataURI.DevEvalFileProduct

Gets a Base64-encoded data URI