In base R, I am attempting to perform a specific command (i.e. re-render display with re-computed fonts) when the window/device is resized. Moreover, a user is most likely to resize the window during an active input query (as the program is waiting for input/confirmation to proceed). In most programs, I would expect to create a resize callback function, like in GLFW, but I would not be surprised if R does not have such a feature.
I was curious if anybody knew any solutions for handling window resizes in R. I have looked around and could not find any obvious way to do it.