Learn R Programming

Cairo (version 1.6-2)

R Graphics Device using Cairo Graphics Library for Creating High-Quality Bitmap (PNG, JPEG, TIFF), Vector (PDF, SVG, PostScript) and Display (X11 and Win32) Output

Description

R graphics device using cairographics library that can be used to create high-quality vector (PDF, PostScript and SVG) and bitmap output (PNG,JPEG,TIFF), and high-quality rendering in displays (X11 and Win32). Since it uses the same back-end for all output, copying across formats is WYSIWYG. Files are created without the dependence on X11 or other external programs. This device supports alpha channel (semi-transparent drawing) and resulting images can contain transparent and semi-transparent regions. It is ideal for use in server environments (file output) and as a replacement for other devices that don't have Cairo's capabilities such as alpha support or anti-aliasing. Backends are modular such that any subset of backends is supported.

Copy Link

Version

Install

install.packages('Cairo')

Monthly Downloads

32,947

Version

1.6-2

License

GPL-2 | GPL-3

Maintainer

Last Published

November 28th, 2023

Functions in Cairo (1.6-2)

CairoFonMatch

Find installed fonts with a fontconfig pattern
Cairo.capabilities

Reports which output types are supported by this Cairo build
CairoFonts

Set the fonts used for all Cairo graphics devices.
Cairo.serial

Check for changes in the graphics state of Cairo devices.
Cairo.onSave

Cairo callbacks
Cairo.capture

Capture contents of an image backend or a display list snapshot.
Cairo

Create a new Cairo-based graphics device