The R Journal: article published in 2012, volume 4:2

Debugging grid Graphics PDF download
Paul Murrell and Velvet Ly , The R Journal (2012) 4:2, pages 19-27.

Abstract A graphical scene that has been produced using the grid graphics package consists of grobs (graphical objects) and viewports. This article describes functions that allow the exploration and inspection of the grobs and viewports in a grid scene, including several functions that are available in a new package called gridDebug. The ability to explore the grobs and viewports in a grid scene is useful for adding more drawing to a scene that was produced using grid and for understanding and debugging the grid code that produced a scene.

CRAN packages: ggplot2, gridDebug, graph, Rgraphviz, gridGraphviz, gridSVG, playwith
CRAN Task Views implied by cited CRAN packages: Graphics, Phylogenetics

CC BY 4.0
This article is licensed under a Creative Commons Attribution 3.0 Unported license .

  author = {Paul Murrell and Velvet Ly},
  title = {{Debugging grid Graphics}},
  year = {2012},
  journal = {{The R Journal}},
  doi = {10.32614/RJ-2012-013},
  url = {} ,
  pages = {19--27},
  volume = {4},
  number = {2}