How can I programmatically execute Visual Editor commands in RStudio Visual Editor mode?
In particular, I need to add/change/remove headers (the shortcuts do not work as I configured them to apply adding functions in Source Editor mode):
I need something like
But the required command is not listed in Administration Guide - RStudio IDE Commands
I'd like to access the other commands like changing format (bold, italic, verbatim, normal), inserting figures or references, etc.
Similar question without answers.
How can I do that?