Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

randy3k/vscode-R

Open more actions menu
 
 

Repository files navigation

R support for Visual Studio Code

Sorry, supporting this extension is ended. Please looking forward to coming new one (microsoft/RTVS#1295).

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 or ⌘+Enter(windows: ctrl+enter)

Features

  • Run Source(⌘+Shift+S or Push iconicon) and Run Selected((⌘+Enter))
    • If you use Windows or linux to Ctrl

use Run .R

  • R Integrated Terminal

Create R terminal

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

Syntax

  • Create .gitignore based R.gitignore

  • Data frame viewer and Environment viewer(Preview Data frame or Preview Environment)

Image

  • Snippets

  • Package development short cut (Load All, Test Package, Install Package, Build Package and Document)

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.rpath.lsp: set to R.exe path for Language Server Protocol

  • 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.source.focus : Keeping focus when running(editor or terminal)

  • Language server(developing here)

TODO

  • Output Plot
  • Debug

CONTRIBUTING

This extension based on

FAQ

  • Q: I can't use command and message is xxx no command found.
  • A: Please open your folder that has R source file

The R logo is © 2016 The R Foundation

About

R Extension for Visual Studio Code (execution, snippet, lint, R documantation, R Markdown)

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.