This is post #02 in a running series about plotting in R.
Though the docs are relatively clear on how to save an R plot to disk in a variety of formats, I had some trouble figuring out how because I googled the wrong words. In the hope that this can help someone in the future, here’s how I generated the plots for the last post and saved them to disk:
1 2 3 4 5 |
|
It’s really as simple as using png or jpeg depending on your desired filetype.