2  Choose an IDE (for R)

Last updated on

October 9, 2025

2.1 What is an IDE?

An integrated development environment (IDE) is a software application that provides comprehensive facilities for software development. An IDE normally consists of at least a source-code editor, build automation tools, and a debugger. […] (wikipedia)

This means you can acess your programming language (e.g., R, Python, Julia, C++, etc.) through a user-friendly interface and you have your data, code, and output in one place.

2.2 Why use an IDE?

There are many reasons why you should use an IDE. Let’s start by looking at the alternative, which is not using an IDE. Using exclusively the R console without an IDE (or editor) would look like this:

Working directly in the interactive console without a well-structured project environment becomes unorganized very quickly, makes it difficult to keep track of your code when the project grows larger–and most importantly, threatens reproducibility. IDEs instead offer many features that make coding more robust, more efficient, and also reproducible. They often support so-called project-oriented workflows (see the Chapter 6: Setup a project environment), help you navigate between files, and provide features such as syntax highlighting, code completion, AI assistance (e.g., through GitHub Copilot), debugging tools, version control integration (i.e., Git) and much more.

Important

You should never work directly in the Console, except for quick tests. Always use a script (e.g., script.R, script.qmd) so that your work can be understood, reproduced, and reused.

2.5 Conclusion

Choosing between RStudio and Positron is primarily a matter of personal preference. If you just want to analyze data with R (in a reproducible way), it does not really matter which IDE you choose as both get the job done. As Positron is the newer IDE and is built on top of Visual Studio Code, it has more features and is more versatile. I have switched to Positron and I am very happy with it.


  1. In July 2025, Posit released the first stable version of Positron.↩︎

  2. “In software development, a fork is a codebase that is created by duplicating an existing codebase and, generally, is subsequently modified independently of the original. Software built from a fork initially has identical behavior as software built from the original code, but as the source code is increasingly modified, the resulting software tends to have increasingly different behavior compared to the original.” https://en.wikipedia.org/wiki/Fork_(software_development)↩︎

  3. There is no real right answer, but as I transitioned to Positron, I put it as the correct answer.↩︎

  4. That can be configured via Tools > Global Options > Pane Layout↩︎