R/grab_grob.R

Defines functions grab_grob

# grab_grob.R
#
# This function "grabs" the plots on the R graphics device, and enables them to be saved to an
# external file.
# @keywords grab_grob

grab_grob <- function(){
  # require(gridGraphics)
  # require(grid)
  gridGraphics::grid.echo()
  grid::grid.grab()
}

Try the sigQC package in your browser

Any scripts or data that you put into this service are public.

sigQC documentation built on May 31, 2023, 5:36 p.m.