Redraw Base Graphics Using 'grid' Graphics

Functions to convert a page of plots drawn with the 'graphics' package into identical output drawn with the 'grid' package. The result looks like the original 'graphics'-based plot, but consists of 'grid' grobs and viewports that can then be manipulated with 'grid' functions (e.g., edit grobs and revisit viewports).

Redraw base graphics using grid graphics


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.5-1 by Paul Murrell, 9 months ago

Browse source code at

Authors: Paul Murrell [cre, aut] , Zhijian Wen [aut]

Documentation:   PDF Manual  

GPL (>= 2) license

Imports grDevices

Depends on grid, graphics

Suggests magick, pdftools

Imported by RGraphics, colorBlindness, ggplotify, grapesAgri1, meme, multiDimBio, multipanelfigure, sigQC, trackr.

Suggested by WASP, cowplot, ggimage, netplot, patchwork, phateR, ubiquity.

See at CRAN