Guru's Verification engine ensures consistency, confidence, and trust in the knowledge your organization shares. Learn more.

R | How to set up VSCode extension

Although RStudio [1] is the most common IDE for R, it is very much possible to use Visual Studio Code as the editor of choice for R code.

To do so most effectively, download the VSCode extension for R [2], and follow the setup instructions in the page. In addition, it may be necessary to do the following:

  • Install the jsonlite package in the R library you are using

  • In the settings for the extension, set the Rpath and Rterm values to the path of the R executable [3], if they are not automatically populated

Resources:

You must have Author or Collection Owner permission to create Guru Cards. Contact your team's Guru admins to use this template.