It's occasionally handy to get a PNG file of a figure to share in an email, on twitter, etc. In the pre-markdown days I would use the export button in the plots viewer to do this. How do I (efficiently) do this from inline output?
I know I can use
ggplot2::ggsave(), or go into the settings for the document and change inline output to console output. But surely there's a way to do it from inside the document without messing up the real purpose of the document?
I'm still using 1.0.143 on this machine ... maybe that's the answer.