Injecting a command into console via URL parameters ?

Hi,
I would like to pass a command into the Rstudio console via parameters in the URL, to e.g. run a script or knit a vignette and show results without writing a full-blown shiny app ?
Since this a potential security issue, there needs to be a popup asking the user for confirmation.
Yours,
Steffen

Could you say a bit more about what you're trying to accomplish?

RStudio does not support direct command execution via URL parameters due to security risks. Running code from URLs would expose the environment to injection attacks. If you need to execute code upon RStudio opening, a recommended approach is to use startup R scripts or R Markdown parameters configured to run at launch, but you must initiate these manually from within the RStudio environment.

1 Like