Open a local page in the editor from a Web-Page link or button?

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 :slight_smile: )

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.