The R Journal: article published in 2013, volume 5:2

Changes to grid for R 3.0.0 PDF download
Paul Murrell , The R Journal (2013) 5:2, pages 148-160.

Abstract From R 3.0.0, there is a new recommended way to develop new grob classes in grid. In a nutshell, two new “hook” functions, makeContext() and makeContent() have been added to grid to provide an alternative to the existing hook functions preDrawDetails(), drawDetails(), and postDrawDetails(). There is also a new function called grid.force(). This article discusses why these changes have been made, provides a simple demonstration of the use of the new functions, and discusses some of the implications for packages that build on grid.

Received: 2013-06-04; online 2013-09-27
CRAN packages: lattice, ggplot2, gtable, gridSVG, grImport, gridGraphviz, gridExtra
CRAN Task Views implied by cited CRAN packages: Graphics, Multivariate, Pharmacokinetics, Phylogenetics


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

@article{RJ-2013-035,
  author = {Paul Murrell},
  title = {{Changes to grid for R 3.0.0}},
  year = {2013},
  journal = {{The R Journal}},
  doi = {10.32614/RJ-2013-035},
  url = {https://doi.org/10.32614/RJ-2013-035},
  pages = {148--160},
  volume = {5},
  number = {2}
}