Skip to content

Releases: AlFontal/rmd-notebooks-vscode

v0.6.3: Document-relative R chunk execution

Choose a tag to compare

@AlFontal AlFontal released this 22 Sep 20:45
14ee0cf

What's Changed

  • Run R chunks in .Rmd and .qmd notebooks from the source document directory, so relative paths behave as they do in RStudio.
  • Keep R process startup at the workspace root for project .Rprofile and renv initialization.
  • Add integration tests for nested documents and relative data paths.

Fixes #31 in #32.

Full Changelog: v0.6.2...v0.6.3

v0.6.2: Better notebook output UX

Choose a tag to compare

@AlFontal AlFontal released this 17 Sep 18:55
56f2880

What's Changed

  • fix: improve notebook output UX and language handling by @AlFontal in #30

Full Changelog: v0.6.1...v0.6.2

v0.6.1: Python environment selection fixes

Choose a tag to compare

@AlFontal AlFontal released this 08 Sep 19:32
120a280

Fixes

  • Expose Python environments in the native notebook kernel picker while retaining R execution in mixed-language notebooks.
  • Keep environment selection responsive during discovery, support manual executable paths, and add reset-to-Automatic selection.
  • Prevent automatic selection from overwriting explicit choices, resolve saved environment identities against the current catalog, and apply document-scoped environment variables without persisting their values.
  • Recover from partial discovery failures and Python process crashes, and finalize pending cells correctly when environment preparation fails or is cancelled.
  • Test against the latest stable VS Code host, with regressions for native environment switching, mixed R/Python execution, selection races, and cancellation.

Upgrading from 0.6.0

Choose Rmd Notebooks: Select Python Environment → Automatic — Follow Workspace Python to clear an old per-notebook environment override. Python execution still uses embedded IPython; this release does not add Jupyter kernelspec or widget support.

Both Marketplace and Open VSX packages are built by the release workflow and attached when packaging completes.

Full changelog: v0.6.0...v0.6.1

Rmd Notebooks 0.6.0

Choose a tag to compare

@AlFontal AlFontal released this 02 Sep 16:43
8e669c1

Highlights

  • Add persistent IPython-backed execution for Python chunks in .qmd notebooks.
  • Add Python environment discovery and per-document interpreter selection.
  • Preserve rich MIME output, stdout/stderr ordering, prompts, cancellation, restart, and execution counts.
  • Support Quarto Python cell options and source-directory execution.
  • Add Linux extension-host coverage for both R and Python execution.

What's Changed

  • feat: add Python and IPython notebook execution by @AlFontal in #28

Full Changelog: v0.5.0...v0.6.0

Rmd Notebooks 0.5.0

Choose a tag to compare

@AlFontal AlFontal released this 18 Aug 18:16
747253a

Highlights

  • Show document frontmatter as an editable, syntax-highlighted YAML cell without making it executable.
  • Evaluate native knitr and Quarto inline R expressions in rendered, source-preserving prose cells.
  • Preview HTML from R Markdown and Quarto notebook views through vscode-R and Quarto.

The release workflow publishes separate VS Code Marketplace and Open VSX packages.

v0.4.1

Choose a tag to compare

@AlFontal AlFontal released this 26 Jun 11:32

0.4.1

  • Publish separate VS Code Marketplace and Open VSX VSIX variants so VS Code keeps the vscode-R dependency while Positron and other Open VSX hosts do not install an incompatible R extension (#17).
  • Show a one-time vscode-R recommendation in compatible non-Positron hosts when the optional workspace-viewer integration is missing.
  • Mark Rmd Notebooks as the default editor for .qmd and .Rmd files so VS Code-compatible hosts open them as notebooks by default.

v0.4.0

Choose a tag to compare

@AlFontal AlFontal released this 09 Jun 10:31

0.4.0

  • queue inline R chunk requests in execution order, show waiting cells as pending, and support cancelling one cell without dropping the rest of the queue
  • add Stop All Running Chunks to interrupt the active chunk, cancel queued chunks, and stop an in-progress Run All
  • render auto-printed data frames, tibbles, and data tables as theme-aware HTML tables, with settings to disable tables or limit displayed rows and columns
  • scope execution-order badges to each notebook's R session and reset them when the session restarts (#15)
  • add rmdNotebooks.r.startupTimeoutMs with a 30-second default and actionable timeout errors for projects with slow R startup
  • retry with a fresh inline R session after startup failures instead of retaining the failed session
  • restore persisted outputs to the correct cells after reloading a window
  • keep outputs cleared with VS Code's notebook toolbar from reappearing when the notebook is reopened

Thanks to @alpelito7 for the (many) contributions in this release!

v0.3.0

Choose a tag to compare

@AlFontal AlFontal released this 21 May 04:48

0.3.0

  • attach inline R sessions to vscode-R so variables can appear in the R workspace viewer
  • run inline chunks in .GlobalEnv and honor project .Rprofile startup by default
  • add vscode-R as an extension dependency
  • add a setting to disable vscode-R session watcher sourcing for inline sessions
  • fix restart-session resolution when notebook focus is outside the active notebook editor
  • add smoke coverage for vscode-R workspace watcher integration

v0.2.0

Choose a tag to compare

@AlFontal AlFontal released this 18 May 08:51

Highlights

  • Preserve chunk header options such as eval=FALSE, fig.width, echo=FALSE, and warning=FALSE when saving after body edits.
  • Keep notebooks clean on open by storing chunk identity in the runtime snapshot instead of writing it back to cell metadata.
  • Disable the inline interactive fallback timeout by default so legitimate slow chunks keep running.
  • Keep the inline R session alive when an opt-in timeout fires, while still allowing terminal fallback.
  • Wire the notebook Stop button to interrupt active R execution without restarting the session.
  • Catch R interrupts in the inline session shim so interrupted chunks return a normal failed result and the session can continue.

Verification

  • npm run test:unit
  • npm run test:vscode

v0.1.7

Choose a tag to compare

@AlFontal AlFontal released this 12 May 18:15
  • start inline R sessions in the document workspace folder so .Rprofile can activate project tools such as renv
  • tighten the local renv smoke test so it depends on startup working directory instead of forcing R_PROFILE_USER