Is there a way to simulate a left-click from the mouse using R?
I just want that after some line of code, wherever the mouse is, R will make a left click.
I am using Ubuntu - Unity.
If you have xdotool installed, you could do:
system("xdotool click 1")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With