4.22 Output

  • print(): Render it on screen (inside a loop or function, you’ll need to do it yourself)
  • ggsave(): Save it to disk
  • saveRDS(): Save a cached copy of it to disk
    • Saves complete copy of plot object (you can easily recreate it)
  • Use walk() in combination with ggsave() to store several formats

## Saving 7 x 5 in image
## Saving 7 x 5 in image
## Saving 7 x 5 in image