Re: [Rd] inconsistency/bug in recordPlot/replayPlot

2013-09-24 Thread Paul Murrell
Hi Unfortunately, my main advice would be not to rely on recordPlot() because it (or at least the underlying display list format) was never intended for this sort of thing. I doubt that helps though :) I might be able to help more, or look at developing a "transportable object class for R g

Re: [Rd] inconsistency/bug in recordPlot/replayPlot

2013-09-24 Thread Michael Weylandt
https://stat.ethz.ch/pipermail/r-devel/2013-September/067563.html Same instructions still apply -- this is a self-subscription list. M On Sep 24, 2013, at 0:42, Eric Malitz wrote: > take me off here > > > On Mon, Sep 23, 2013 at 10:31 PM, Gabriel Becker wrote: > >> Paul, >> >> Thanks for

Re: [Rd] inconsistency/bug in recordPlot/replayPlot

2013-09-23 Thread Eric Malitz
take me off here On Mon, Sep 23, 2013 at 10:31 PM, Gabriel Becker wrote: > Paul, > > Thanks for the response. > > > On Mon, Sep 23, 2013 at 7:43 PM, Paul Murrell >wrote: > > > > > par(bg="white") > > > > plot(1:10) > > recplot = recordPlot() > > png("bgreplay.png") > > replayPlot(recplot) > >

Re: [Rd] inconsistency/bug in recordPlot/replayPlot

2013-09-23 Thread Gabriel Becker
Paul, Thanks for the response. On Mon, Sep 23, 2013 at 7:43 PM, Paul Murrell wrote: > > par(bg="white") > > plot(1:10) > recplot = recordPlot() > png("bgreplay.png") > replayPlot(recplot) > dev.off() > > Would that satisfy your use case ? > Unfortunately it does not, as my use-case is in a ca

Re: [Rd] inconsistency/bug in recordPlot/replayPlot

2013-09-23 Thread Paul Murrell
Hi If you want an explicit background (rather than just relying on what the device gives you), you can do something like ... par(bg="white") plot(1:10) recplot = recordPlot() png("bgreplay.png") replayPlot(recplot) dev.off() Would that satisfy your use case ? Paul On 09/14/13 09:17, Gabriel