lock R when resizing the window

Asked

Viewed 50 times

2

In the R, It is possible to pick up and lock (hold) a device, draw an image and make the graphic render flush. This is useful for complex screen situations with hundreds of dots and/or color gradients, since without doing hold the device would be updated every operation that modifies the screen, and that locked on the device works normally.

However, however, any resizing operation of the window will cause a device update, but without crashing and flush.

Is there any way to talk to the R lock screen (place with hold) for resizing operations?

1 answer

4


To prevent redesign during resizing, you can use dev.control("inhibit"), although while you are in inhibit status you will not be able to redraw or flush.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.