Learn R Programming

cairoDevice (version 1.2-1)

Cairo: The Cairo Graphics Device

Description

Open an R graphics device based on the Cairo vector graphics library

Usage

Cairo(width = 7, height = 7, pointsize = 10)

Arguments

width
The (initial) width in inches
height
The (initial) height in inches
pointsize
The pointsize of the font

Details

This will open a blank (black) GTK+ window containing a GtkDrawingArea to which R graphics are drawn via the Cairo API. This functions the same as any other R graphics device. You may use the conventional plot commands and expect essentially the same output, except that everything is antialiased (similar to other vector-based devices like Quartz).

References

http://www.cairographics.org/