Comments on Slides and replay for "A backstage tour of ggplot2"TypePad2012-02-09T17:33:27ZBlog Administratorhttp://blog.revolutionanalytics.com/tag:typepad.com,2003:http://blog.revolutionanalytics.com/2012/02/slides-and-replay-for-a-backstage-tour-of-ggplot2/comments/atom.xml/isomorphismes commented on 'Slides and replay for "A backstage tour of ggplot2"'tag:typepad.com,2003:6a010534b1db25970b016302720a3a970d2012-03-05T04:06:05Z2012-03-05T04:06:05Zisomorphismeshttp://isomorphismes.tumblr.comMin 46. To export a ggplot2 graphic in Linux do this at the R command line: png("my cool plot.png") qplot(...<p>Min 46. To export a ggplot2 graphic in Linux do this at the R command line:</p>
<p>png(&quot;my cool plot.png&quot;)<br />
qplot( x = blee, y = blaa, shape = blarg )<br />
dev.off()</p>
<p><br />
Dev.off() says &quot;I&#39;m done writing to that png file now, so close it off&quot;. After that your next qplot() will print on the screen instead of printing to that file.</p>