Let\'s say that I just created 4 histograms in ggplot2. After finishing, I realized that I should have used grid.arrange to combine some of the plots into a single graphics
rl = lapply(sprintf("my_viz%i.png", 1:4), png::readPNG) gl = lapply(rl, grid::rasterGrob) gridExtra::grid.arrange(grobs=gl)