My students work with R scripts that are bundled in a project they download from GitHub. Explanations and tasks are on Web pages. Many tasks involve instructions to load the project and open some script. It would be nice if they could click on a link or button instead, to trigger opening the project in RStudio and loading a specific page in the editor (or moving focus to it if it is already open).
Any ideas how could this be done in principle? I think a partial solution would be to have them register RStudio as the protocol handler for .R files, and link to local files in a standard location - but that would not load the project. Or, if someone could confirm that this can't currently be done, that would save me a lot of time too.
(I am not asking about running R in the browser )