[R-SIG-Mac] plot window not showing most recent plot?

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Sat Sep 5 17:29:27 CEST 2020


Which front end are you using?  The cmd-] and cmd-[ don't do anything in 
the ones I'm using.

Duncan Murdoch

On 05/09/2020 8:23 a.m., Timothy Bates wrote:
> In R version: R version 4.0.2 (2020-06-22), I’m seeing the plot window not advance when a new ggplot is drawn.
> calls to plot() advance the quartz window to the newest “frame”, but calls to ggplot2::qplot() show the graph only the first time the function is called in the quartz window’s history.
> 
> For subsequent qplots, the pane does not advance to show the new plot, instead staying on which ever “frame’ in the plot history it was at.
> 
> repro
> 
> plot(wt ~ mpg, data=mtcars) # displays
> ggplot2::qplot(mpg, wt, data=mtcars) # doesn't display
> 
> close quartz window
> 
> qplot(mpg, wt, data=mtcars) # displays
> plot(wt ~ mpg, data=mtcars) # displays
> qplot(mpg, wt, data=mtcars) # doesn't display
> 
> try cmd-] to advance forward into current history… nothing happens (newest plot is not in the (forward) history
> 
> try cmd-[ to go back, then cmd-]  cmd-]  to go forward into current history… newest plot displays as it should have the first time
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>



More information about the R-SIG-Mac mailing list