Masayoshi Hayashi
2003-May-21 12:40 UTC
[R] Graphics device history recording problem (Previous and Next utilities)
I use 1.7.0 version under Windows XP. Problem: When graphics device history recording function turned on, suppose I source a file containing lines: plot(graph1) plot(graph2) I see the graph2 in the graphic device, assuming graph2 is the last plot in the file. Now using "Previous" under history menu, I get graph1 as expected. But after that, using "Next" does not show graph2. Is this a normal behavior? If so how do you get back to graph2? I have observed the same behavior in 1.6.2. Thank you for your input.
Prof Brian Ripley
2003-May-21 12:54 UTC
[R] Graphics device history recording problem (Previous and Next utilities)
On Wed, 21 May 2003, Masayoshi Hayashi wrote:> I use 1.7.0 version under Windows XP. > > Problem: > When graphics device history recording function turned > on, suppose I source a file containing lines: > > plot(graph1) > plot(graph2) > > I see the graph2 in the graphic device, assuming > graph2 is the last plot in the file. Now using > "Previous" under history menu, I get graph1 as > expected. But after that, using "Next" does not show > graph2. Is this a normal behavior? If so how do you > get back to graph2? I have observed the same behavior > in 1.6.2.R does not know the plot is finished until you go on to the next one. So you have to explicitly add the current state of the current plot to the history, when it will work. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Duncan Murdoch
2003-May-21 13:15 UTC
[R] Graphics device history recording problem (Previous and Next utilities)
On Wed, 21 May 2003 05:40:33 -0700 (PDT), you wrote:>I use 1.7.0 version under Windows XP. > >Problem: >When graphics device history recording function turned >on, suppose I source a file containing lines: > >plot(graph1) >plot(graph2) > >I see the graph2 in the graphic device, assuming >graph2 is the last plot in the file. Now using >"Previous" under history menu, I get graph1 as >expected. But after that, using "Next" does not show >graph2. Is this a normal behavior? If so how do you >get back to graph2? I have observed the same behavior >in 1.6.2.I don't see this. Could you post exactly what you did, in what order? Are you using MDI (one big window holding smaller subwindows) or SDI (all separate windows)? Duncan Murdoch