vscode-RR Extension for Visual Studio Code
Language service based on static code analysis, and interactivity between VS Code and R sessions.
Language service based on static code analysis, and interactivity between VS Code and R sessions.
vscode-R is the R Extension for Visual Studio Code. The extension is mainly focused on providing language service based on static code analysis and user interactivity between VS Code and R sessions.
We recommend the Getting Started page first. Or, dive in straight away by choosing the installation instructions for your operating system: Windows, macOS, or Linux.
Snippets for R and R Markdown.
R Language Service: Code completion, function signature, symbol highlight, document outline, formatting, definition, diagnostics, references, and more.
Interacting with R terminals: Sending code to terminals, running multiple terminals, working with remote servers.
R Interactive (experimental): Persistent R sessions with native Interactive windows and rich output.
Package development: Build, test, install, load all and other commands from devtools.
Keyboard shortcuts: Built-in and customizable keyboard shortcuts.
Workspace viewer: Environment pane to show global variables in the attached R session.
Help pages viewer: Viewing R help pages and searching help topics.
Package management: Installing and removing R packages.
Session symbol hover and completion.
Data viewer: Viewing data frames, matrices, Arrow tables, and Polars DataFrames in a sortable, filterable grid that loads rows on demand, or lists as JSON.
Plot viewer: Interactive JGD and httpgd backends, plus a responsive standard SVG/PNG viewer.
Webpage viewer: Viewing htmlwidgets such as interactive graphics and visual profiling results.
Browser viewer: Viewing interactive shiny apps.
R Markdown support: R Markdown chunk highlighting, chunk navigation, execute commands, and preview.
RStudio add-in support: Run supported RStudio add-ins in VS Code with a live R session.
Full support of Remote Development via SSH, Containers and WSL.