R Tools for Visual Studio

Turn Visual Studio into a powerful R development environment.

  • R aware Editor with IntelliSense
  • R Interactive Window with multi-line editing
  • Debugger with Locals and Stack views
  • Plots and Shiny apps
  • Variable Explorer, data frame viewer
  • Support for CRAN R, Microsoft R Open, Microsoft R Server
  • Free and Open Source
R Tools for Visual Studio
R Interactive Window

R Interactive Window

Prototype at the speed of thought

Run your code directly in the Interactive window, or ctrl-enter from the Editor, or the History window to quickly see computation results or graphs. Up arrow to edit single lines or multiple-line chunks of code, as if you’re in the editor.

Intellisense

Understand your code

Experience useful and syntactically-correct completions. Intellisense is available in both the Editor and the R Interactive Window.

Learn more about editing in Visual Studio.

Intellisense
Plots

Plots

A visual gateway to your data

Use the powerful R libraries such as ggplot2 and ggviz to make beautiful graphs to understand your data and communicate your insights.

Variable Explorer

Understand your environment

The Variable Explorer keeps track of all the objects in your environment and supports drilling down arbitrarily deep. Click on the magnifying glass to get a tabular view of your data frames.

Variable Explorer
Debug

Debug

Understand your environment

None of us write perfect code all the time, but when it goes wrong Visual Studio can help. Visually step through your code, view or modify state, and interact with your program, from basic to Shiny apps.

Learn more about debugging in Visual Studio.

History

Recall quickly

The History window tracks all your previous inputs and enables quick search, selection and execution in the R interactive window. Work with single lines or multi-line chunks of code.

History
Enhanced Interpreters

Enhanced Interpreters

Turn on the afterburners

Install Microsoft R Open or Microsoft R Server to enjoy enhanced multi-threaded math libs, cluster scale computing, and a high performance CRAN repo with checkpoint capabilities.

Learn more

Related

What is Visual Studio Team Services?

Cloud services for development teams to collaborate and manage software projects.

Read more

A code completion list, documentation tooltip, and variable type information in the Visual Studio editor.  Searching for, and installing, the Microsoft Azure SDK for Python.  Debugging Python code with the Autos and Call Stack windows, and a Data Tip.  Rendering of a graph in a Python interactive window.  Solution Explorer and Team Explorer showing a project in a git repository.  Test results for a set of Python tests showing the outcome and elapsed time for each.  Header of the Microsoft / PTVS page on Github. 
true
as  nullPurple  Green  lightGreen  null  null