7.3 Interactivity limitations

The basic data flow in interactive plots:

JavaScript captures the mouse event
Shiny sends the mouse event data back to R
The reactive actions are recomputed
plotOutput send an image of the results to the browser

In terms of limitations, here we talk about time response. To achieve what is thought to be instantaneous reaction at click, such as the requested modification is immediately visible, it would be necessary to improve JavaScript computation. And this can be obtained to the plotly package.

Here is the resource: Interactive web-based data visualization with R, plotly, and shiny