powered by
detect a (left) double click (without moving cursor position)
doubleClick(tol = 0.001)
returns TRUE if a double click was detected
numeric tolerance for detecting same position
I realized this is not very useful, as processing is stopped until 2 clicks are detected
if(interactive()){ doubleClick() }
Run the code above in your browser using DataLab