[IPython-dev] ipython notebook and ggplot2

Thomas Kluyver takowl at gmail.com
Thu Dec 20 13:45:36 EST 2012


On 20 December 2012 18:29, Robert McGibbon <rmcgibbo at gmail.com> wrote:

> ggsave('temp.png'); system('open temp.png')
>
> At the end of my plotting session. This pops up the plot in my image
> editor.
>
> For the notebook, I think it's a little more complicated because you have
> to send the png to the front end through the display pub.


In fact, the notebook just sets up a specific temporary directory for your
R code, and then displays the png files saved in there. Maybe we should
expose that to the R code as something like _ipy_tmpd, so that you can save
arbitrary png files?

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20121220/06038c44/attachment.html>


More information about the IPython-dev mailing list