r_run
Run any R code in a persistent session to get console output and plots. Use it for custom models, package functions, or data wrangling not covered by structured tools.
Instructions
Run arbitrary R code in the persistent session and return the console output plus any plots. This is the escape hatch for anything the structured tools do not cover: custom models, package-specific functions, data wrangling, or follow-up on a saved model (e.g. summary(anova_fit1)). Objects created here persist and are visible to the other tools; a data frame you create is usable as data="<name>" everywhere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | R code to evaluate. Multiple lines are fine. | |
| timeout | No | Seconds to allow before aborting. | |
| plot_width | No | Plot width in inches. | |
| plot_height | No | Plot height in inches. |