I have two plots that I make and update in real-time that look like this:

I generated these plots with the standard functions plot() and lines().
Since I generate and re-generate these plots in real time there is a lot of repainting and blinking going on.
Is it possible to hold off on outputting to the display until both plots are complete? (that is, until the lines have been added for both?)
You can try to use
dev.holdanddev.flush.