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

Timothy Bates t|mothy@c@b@te@ @end|ng |rom gm@||@com
Sat Sep 5 14:23:39 CEST 2020


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



More information about the R-SIG-Mac mailing list