Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>RNew to Visual Studio Code? Get it now.
R

R

REditorSupport

|
3,596,904 installs
| (43) | Free
R Extension for Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

R Extension for Visual Studio Code

Documentation VS Code Marketplace Open VSX Registry

This VS Code extension provides support for the R programming language, including an R language service based on code analysis, interaction with R terminals, viewers for data, plots, workspace variables, and help pages, package management, and R Markdown support.

Documentation: https://reditorsupport.github.io/vscode-R/

See Getting Started for an overview, and the installation guides for Windows, macOS, and Linux for detailed setup instructions.

Quickstart

  1. Install R (>= 3.4.0).

  2. Install the languageserver package from R.

    install.packages("languageserver")
    
  3. Install this extension from the VS Code Marketplace or the Open VSX Registry. It requires VS Code 1.101.0 or later.

  4. Create an R file and start coding! (Click Yes if prompted to install sess.)

Daily pre-releases are also available: choose Switch to Pre-Release Version on the extension's page in VS Code. See release channels for details and development builds.

Questions, bug reports, ideas, and contributions

  • If you have a question, need help with setup or troubleshooting, or are unsure whether you have found a bug, please start a Q&A discussion.

  • If you have an idea for a new feature or behavior change, please start an Ideas discussion.

  • If you find a reproducible problem with the extension, please check the existing issues and then file a bug report. Include the extension version and reproduction steps.

  • Contributions are always welcome! Please see the contributing guide for more details.

The R and R Markdown syntaxes are located in a sibling package, vscode-R-syntax. See the changelog for changes in each release.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft