- Notifications
You must be signed in to change notification settings - Fork137
R Extension for Visual Studio Code
License
REditorSupport/vscode-R
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
ThisVS Code extension provides support for theR programming language, including features such as R language service based on code analysis, interacting with R terminals, viewing data, plots, workspace variables, help pages, managing packages, and working withR Markdown documents.
The R and R Markdown syntaxes are located in a slibing packagevscode-R-syntax.
Go to thewiki to view the documentation of the extension.
Install R (>= 3.4.0) on your system. For Windows users, Writing R Path to the registry is recommended in the installation.
Install
languageserverin R.install.packages("languageserver")Install the R extension for VS Code from theVS Code Extension Marketplace or theOpen VSX Registry.
Create an R file and start coding.
The following software or extensions are recommended to enhance the experience of using R in VS Code:
radian: A modern R console that corrects many limitations of the official R terminal and supports many features such as syntax highlighting and auto-completion.
VSCode-R-Debugger: A VS Code extension to support R debugging capabilities.
httpgd: An R package to provide a graphics device that asynchronously serves SVG graphics via HTTP and WebSockets.
Go to the installation wiki pages (Windows |macOS |Linux) for more detailed instructions.
Snippets for R and R Markdown.
R Language Service: Code completion, function signature, symbol highlight, document outline, formatting, definition, diagnostics, references, and more.
Interacting with R terminals: Sending code to terminals, running multiple terminals, working with remote servers.
Package development: Build, test, install, load all and other commands from devtools.
Keyboard shortcuts: Built-in and customizable keyboard shortcuts.
Workspace viewer: Environment pane to show global variables in the attached R session.
Help pages viewer: Viewing R help pages and searching help topics.
Package management: Installing and removing R packages.
Session symbol hover and completion.
Data viewer: Viewing
data.frameormatrixin a grid or a list structure in a treeview.Plot viewer: PNG file viewer and SVG plot viewer based onhttpgd.
Webpage viewer: Viewinghtmlwidgets such as interactive graphics andvisual profiling results.
Browser viewer: Viewing interactiveshiny apps.
R Markdown support: R Markdown chunk highlighting, chunk navigation, execute commands, and preview.
RStudio add-in support: Run supported RStudio add-ins in VS Code with a live R session.
Full support ofRemote Development viaSSH,Containers andWSL.
Live share collaboration: Shared workspace, terminal, and viewer in R pair programming.
If you have a question about accomplishing something in general with the extension, pleaseask on Stack Overflow.
If you find a problem or have a feature request with the extension, pleasefind out if there is a current issue you may upvote or otherwisefile an issue.
Contributions are always welcome! Please see thecontributing guide for more details.
About
R Extension for Visual Studio Code
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.