[sage-support] Re: Plots using R in sage notebook appear later

2011-05-26 Thread ancienthart
And then there's Jason's beautiful little time-saving method if you use a lot of graphics: *from contextlib import contextmanager @contextmanager def r_graphics(r): r.png() yield r.dev_off() with r_graphics(r): r.boxplot() r.some_other_plot()* This and further discussion can be found at: http:

[sage-support] Re: Plots using R in sage notebook appear later

2011-05-25 Thread ancienthart
A good tutorial for R/sage is available at: http://www.sagenb.org/home/pub/2232/ Joal Heagney -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http

[sage-support] Re: Plots using R in sage notebook appear later

2011-05-24 Thread giovanni.marche...@ds.unifi.it
Thank you Joal, I tried and that works perfectly. The trick is to start the device and close it at each picture. It's a sensible way to work. Giovanni On May 24, 11:00 am, ancienthart wrote: > Can you try the following for us please? > > png() > hist(x) > dev.off() > > and > > png() > plot(x,y)

[sage-support] Re: Plots using R in sage notebook appear later

2011-05-24 Thread ancienthart
Can you try the following for us please? png() hist(x) dev.off() and png() plot(x,y) def.off() Joal Heagney -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit th