Skip to content

Enable httpgd plot viewer and session watcher in VS Code / Codespaces (#134) - #135

Merged
Robinlovelace merged 2 commits into
masterfrom
134-enable-r-plot-viewer-in-vs-code-codespaces-httpgd-session-watcher
Jul 30, 2026
Merged

Enable httpgd plot viewer and session watcher in VS Code / Codespaces (#134)#135
Robinlovelace merged 2 commits into
masterfrom
134-enable-r-plot-viewer-in-vs-code-codespaces-httpgd-session-watcher

Conversation

@Robinlovelace

Copy link
Copy Markdown
Contributor

Closes #134.

Summary of Changes

  1. Added httpgd package to minimal/Dockerfile installation via pak::pak().
  2. Updated .devcontainer/devcontainer.json to configure VS Code settings:
    • r.sessionWatcher: true
    • r.plot.useHttpgd: true
    • r.bracketedPaste: true

This enables interactive R plotting (e.g. plot(1:9)) to render seamlessly inside VS Code / Codespaces webviews.

@Robinlovelace

Copy link
Copy Markdown
Contributor Author

Not yet verified to work but hope so! @Nowosad have you hit this? @e-kotov I'm still finding these issues in downstream repos, latest being the itsleeds/tds repo. This is basic stuff, plot() should work, so hoping this fixes it. Any insights into the v. welcome, wondering if we should also set global .Rprofile for this?

@Robinlovelace
Robinlovelace merged commit 1294c19 into master Jul 30, 2026
12 of 13 checks passed
@Robinlovelace
Robinlovelace deleted the 134-enable-r-plot-viewer-in-vs-code-codespaces-httpgd-session-watcher branch July 30, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable R plot viewer in VS Code / Codespaces (httpgd & session watcher)

1 participant