Skip to content

Shians/vscode-R

 
 

Repository files navigation

R

Marketplace Version Market Place Installs

R language support for VS Code. Requires R.

Usage

  • For Windows, set config r.rterm.windows to your R.exe Path like "C:\\Program Files\\R\\R-3.3.4\\bin\\x64\\R.exe";
  • Open your folder that has R source file (Can't work if you open only file)
  • Use F1 key and R: command

Features

  • Run Source and Run Selected use Run .R

  • R Integrated Terminal Create R terminal

  • Extended Syntax(R, R Markdown, R Documentation) Syntax

  • Support lintr lintr

  • Create .gitignore based R.gitignore

  • Snippets

Requirements

Extension Settings

This extension contributes the following settings:

  • r.rterm.windows: set to R.exe path for Windows
  • r.rterm.mac: set to R term's path for Mac OS X
  • r.rterm.linux: set to R term's path for Linux
  • r.rterm.option: R command line options (i.e: --vanilla)
  • r.source.encoding: An optional encoding to pass to R when executing the file
  • r.lintr.linters: list of linter functions
  • r.lintr.cache: toggle caching of lint results
  • r.lintr.executable: R executable path for lintr(if not set, used r.rterm.xxx)
  • r.source.focus : Keeping focus when running(editor or terminal)

TODO

  • Intellisense
  • Output Plot
  • Debug
  • Language Server

This extension based on

The R logo is © 2016 The R Foundation

About

Support for R language(run,snippet, lint,R documantation,R Markdown)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • TypeScript 94.4%
  • R 5.6%