Home

Awesome

R Extension for Visual Studio Code

Badge

This VS Code extension provides support for the R programming language, including features such as extended syntax highlighting, R language service based on code analysis, interacting with R terminals, viewing data, plots, workspace variables, help pages, managing packages, and working with R Markdown documents.

Go to the wiki to view the documentation of the extension.

Getting started

  1. Install R (>= 3.4.0) on your system. For Windows users, Writing R Path to the registry is recommended in the installation.

  2. Install languageserver in R.

    install.packages("languageserver")
    
  3. Install the R extension for VS Code from the VS Code Extension Marketplace or the Open VSX Registry.

  4. Create an R file and start coding.

The following software or extensions are recommended to enhance the experience of using R in VS Code:

Go to the installation wiki pages (Windows | macOS | Linux) for more detailed instructions.

Features

Questions, issues, feature requests, and contributions