dsh-r-runner

R in the sidebar: an RStudio-shaped workbench backed by a persistent R session over a loopback driver (6-9 s cold boot, then 12-84 ms per run). R syntax highlighting with a multi-buffer editor, file tree with extra folder mounts, environment pane you can edit in place, plot gallery with a floating viewer (zoom, resize, open original), five bottom tabs (console with prompt, persistent history, ?topic help, sortable data viewer, package manager with install.packages), completion / diagnostics / go-to-definition, .Rmd chunk runs, Rmd, Quarto and Shiny previews, and an agent-facing r_run tool. Requires a local R installation. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Overview

R in the sidebar: an RStudio-shaped workbench backed by a persistent R session over a loopback driver (6-9 s cold boot, then 12-84 ms per run). R syntax highlighting with a multi-buffer editor, file tree with extra folder mounts, environment pane you can edit in place, plot gallery with a floating viewer (zoom, resize, open original), five bottom tabs (console with prompt, persistent history, ?topic help, sortable data viewer, package manager with install.packages), completion / diagnostics / go-to-definition, .Rmd chunk runs, Rmd, Quarto and Shiny previews, and an agent-facing r_run tool. Requires a local R installation. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Installation

Install from npm

dsh plugin --profile web add dsh-r-runner

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:seally-web/dsh-r-runner

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands