Re: [Rd] Error messages in replayPlot()

2017-05-15 Thread Paul Murrell
Hi The "figure margins too large" message is suppressed on replay because that replay code is also played when resizing a graphics device (so if it was printed to the console you could get millions of error messages as you resized a window) - on replay, the message is drawn on the graphics

[Rd] Error messages in replayPlot()

2017-05-15 Thread Jeroen Ooms
I was wondering if there is something that can be done to improve error messages when replaying a recorded plot. For example a graphics device that is too small usually results in a helpful error message: png(height = 100) plot(1) # Error in plot.new() : figure margins too large dev.off()