RStudio

Last updated
RStudio
Developer(s) Posit, PBC
Initial release28 February 2011;13 years ago (2011-02-28) [1]
Stable release
2.8.2 [2]   OOjs UI icon edit-ltr-progressive.svg / 18 October 2017; 8 June 2023
Repository
Written in Java, C++, JavaScript [3]
Operating system Ubuntu, Fedora, Red Hat Linux, openSUSE, macOS, Windows NT
Platform IA-32, x86-64; Qt
License GNU Affero General Public License v3 [4]
Website posit.co/products/open-source/rstudio

RStudio is an integrated development environment for R, a programming language for statistical computing and graphics. It is available in two formats: RStudio Desktop is a regular desktop application while RStudio Server runs on a remote server and allows accessing RStudio using a web browser. The RStudio IDE is a product of Posit PBC (formerly RStudio PBC, formerly RStudio Inc.).

Contents

Reproducible analyses with R Markdown vignettes

A strength of RStudio is its support for reproducible analyses [5] with R Markdown vignettes. These allow users to mix text with code in R, Python, Julia, shell scripts, SQL, Stan, JavaScript, C, C++, Fortran, and others, [6] similar to Jupyter Notebooks. R Markdown can be used to create dynamic reports that are automatically updated when new data become available with the results exported in various formats, including HTML, PDF, Microsoft Word, and LaTeX, with templates specific to the requirements of many scientific journals. [7] Xie (2023) describes how to use it to write books.

R Markdown vignettes and Jupyter notebooks make the data analysis completely reproducible. R Markdown vignettes have been included as appendices with tutorials on Wikiversity. [8]

Licensing model

The RStudio integrated development environment (IDE) is available with the GNU Affero General Public License version 3. The AGPL v3 is an open source license that guarantees the freedom to share the code.

RStudio Desktop and RStudio Server are both available in free and fee-based (commercial) editions. OS support depends on the format/edition of the IDE. Prepackaged distributions of RStudio Desktop are available for Windows, macOS, and Linux. RStudio Server and Server Pro run on Debian, Ubuntu, Red Hat Linux, CentOS, openSUSE and SLES. [9]

Overview and history

The RStudio IDE is partly written in the C++ programming language and uses the Qt framework for its graphical user interface. [10] The bigger percentage of the code is written in Java. JavaScript is also used. [11]

Work on the RStudio IDE started around December 2010, [12] and the first public beta version (v0.92) was officially announced in February 2011. [1] Version 1.0 was released on 1 November 2016. [13] Version 1.1 was released on 9 October 2017. [14]

Addins

The RStudio IDE provides a mechanism for executing R functions interactively from within the IDE through the Addins menu. [15] This enables packages to include Graphical User Interfaces (GUIs) for increased accessibility. Popular R packages that use this feature include:

Development

The RStudio IDE is developed by Posit, PBC, a public-benefit corporation [16] founded by J. J. Allaire, [17] creator of the programming language ColdFusion. Posit has no formal connection to the R Foundation, a not-for-profit organization located in Vienna, Austria, [18] which is responsible for overseeing development of the R environment for statistical computing. Posit was formerly known as RStudio Inc. In July 2022, it announced that it changed its name to Posit, to signify its broadening exploration towards other programming languages such as Python. [19]

See also

Related Research Articles

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. Some IDEs, such as IntelliJ IDEA, Eclipse and Lazarus contain the necessary compiler, interpreter or both; others, such as SharpDevelop and NetBeans, do not.

<span class="mw-page-title-main">Eclipse (software)</span> Software development environment

Eclipse is an integrated development environment (IDE) used in computer programming. It contains a base workspace and an extensible plug-in system for customizing the environment. It is the second-most-popular IDE for Java development, and, until 2016, was the most popular. Eclipse is written mostly in Java and its primary use is for developing Java applications, but it may also be used to develop applications in other programming languages via plug-ins, including Ada, ABAP, C, C++, C#, Clojure, COBOL, D, Erlang, Fortran, Groovy, Haskell, JavaScript, Julia, Lasso, Lua, NATURAL, Perl, PHP, Prolog, Python, R, Ruby, Rust, Scala, and Scheme. It can also be used to develop documents with LaTeX and packages for the software Mathematica. Development environments include the Eclipse Java development tools (JDT) for Java and Scala, Eclipse CDT for C/C++, and Eclipse PDT for PHP, among others.

<span class="mw-page-title-main">Markdown</span> Plain text markup language

Markdown is a lightweight markup language for creating formatted text using a plain-text editor. John Gruber and Aaron Swartz created Markdown in 2004 as a markup language that is intended to be easy to read in its source code form. Markdown is widely used for blogging and instant messaging, and also used elsewhere in online forums, collaborative software, documentation pages, and readme files.

<span class="mw-page-title-main">GitHub</span> Hosting service for software projects

GitHub is a developer platform that allows developers to create, store, manage and share their code. It uses Git software, providing the distributed version control of Git plus access control, bug tracking, software feature requests, task management, continuous integration, and wikis for every project. Headquartered in California, it has been a subsidiary of Microsoft since 2018.

<span class="mw-page-title-main">Etherpad</span> Open-source web-based collaborative real-time editor

Etherpad is an open-source, web-based collaborative real-time editor, allowing authors to simultaneously edit a text document, and see all of the participants' edits in real-time, with the ability to display each author's text in their own color. There is also a chat box in the sidebar to allow meta communication.

Ace is a standalone code editor written in JavaScript. The goal is to create a web-based code editor that matches and extends the features, usability, and performance of existing native editors such as TextMate, Vim, or Eclipse. It can be easily embedded in any web page and JavaScript application. Ace is developed as the primary editor for Cloud9 IDE and as the successor of the Mozilla Skywriter project.

<span class="mw-page-title-main">Knitr</span>

knitr is an engine for dynamic report generation with R. It is a package in the programming language R that enables integration of R code into LaTeX, LyX, HTML, Markdown, AsciiDoc, and reStructuredText documents. The purpose of knitr is to allow reproducible research in R through the means of literate programming. It is licensed under the GNU General Public License.

Codename One is an open-source cross-platform framework aiming to provide write once, run anywhere code for various mobile and desktop operating systems. It was created by the co-founders of the Lightweight User Interface Toolkit (LWUIT) project, Chen Fishbein and Shai Almog, and was first announced on January 13, 2012. It was described at the time by the authors as "a cross-device platform that allows you to write your code once in Java and have it work on all devices specifically: iPhone/iPad, Android, Blackberry, Windows Phone 7 and 8, J2ME devices, Windows Desktop, Mac OS, and Web. The biggest goals for the project are ease of use/RAD, deep integration with the native platform and speed."

<span class="mw-page-title-main">Hadley Wickham</span> New Zealand statistician

Hadley Alexander Wickham is a New Zealand statistician known for his work on open-source software for the R statistical programming environment. He is the chief scientist at Posit, PBC and an adjunct professor of statistics at the University of Auckland, Stanford University, and Rice University. His work includes the data visualisation system ggplot2 and the tidyverse, a collection of R packages for data science based on the concept of tidy data.

<span class="mw-page-title-main">Atom (text editor)</span> Free and open-source text and source code editor

Atom is a free and open-source text and source-code editor for macOS, Linux, and Windows with support for plug-ins written in JavaScript, and embedded Git control. Developed by GitHub, Atom was released on June 25, 2015.

A headless browser is a web browser without a graphical user interface.

<span class="mw-page-title-main">Visual Studio Code</span> Source code editor developed by Microsoft

Visual Studio Code, also commonly referred to as VS Code, is a source-code editor developed by Microsoft for Windows, Linux, macOS and web browsers. Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded version control with Git. Users can change the theme, keyboard shortcuts, preferences, and install extensions that add functionality.

<span class="mw-page-title-main">KDE Gear</span> Set of applications and supporting libraries

The KDE Gear is a set of applications and supporting libraries that are developed by the KDE community, primarily used on Linux-based operating systems but mostly multiplatform, and released on a common release schedule.

<span class="mw-page-title-main">Joseph J. Allaire</span> Co-founder of several companies including Allaire Corporation and RStudio

Joseph J. Allaire, better known professionally as J. J. Allaire, is an American-born software engineer and Internet entrepreneur. He created the ColdFusion programming language and web application server, founded Allaire Corporation, OnFolio, FitNow, and RStudio, and created LoseIt! and Windows Live Writer. Allaire is currently the founder and CEO of statistical computing company RStudio.

<span class="mw-page-title-main">Electron (software framework)</span> Development framework built on Chromium

Electron is a free and open-source software framework developed and maintained by OpenJS Foundation. The framework is designed to create desktop applications using web technologies that are rendered using a version of the Chromium browser engine and a back end using the Node.js runtime environment. It also uses various APIs to enable functionality such as native integration with Node.js services and an inter-process communication module.

Yihui Xie is a Chinese statistician, data scientist and software engineer who formerly worked for RStudio. He is the principal author of the open-source software package Knitr for data analysis in the R programming language, and has also written the book Dynamic Documents with R and knitr.

<span class="mw-page-title-main">Notebook interface</span> Programming tool blending code and documents

A notebook interface or computational notebook is a virtual notebook environment used for literate programming, a method of writing computer programs. Some notebooks are WYSIWYG environments including executable calculations embedded in formatted documents; others separate calculations and text into separate sections. Notebooks share some goals and features with spreadsheets and word processors but go beyond their limited data models.

<span class="mw-page-title-main">Project Jupyter</span> Open source data science software

Project Jupyter is a project to develop open-source software, open standards, and services for interactive computing across multiple programming languages.

<span class="mw-page-title-main">Netlify</span> American cloud computing company

Netlify is a remote-first cloud computing company that offers a development platform that includes build, deploy, and serverless backend services for web applications and dynamic websites. The platform is built on open web standards, making it possible to integrate build tools, web frameworks, APIs, and various web technologies into a unified developer workflow.

References

Notes

  1. 1 2 "RStudio, new open-source IDE for R | RStudio Blog". Blog.rstudio.org. Archived from the original on 2015-01-24. Retrieved 2015-05-01.
  2. "Release 2.8.2". 18 October 2017. Retrieved 26 October 2022.
  3. "rstudio/rstudio". GitHub . RStudio. Archived from the original on 5 April 2019. Retrieved 18 December 2016.
  4. Pylvainen, Ian (2016-03-24). "What license is RStudio available under? – RStudio". rstudio.com. Archived from the original on 2018-05-26. Retrieved 2018-05-25.
  5. Reproducibility is key in science. In The Logic of Scientific Discovery , Karl Popper wrote, "non-reproducible single occurrences are of no significance to science." But a theory is "falsified only if we discover a reproducible effect which refutes the theory". Popper (1968, p. 86). However, reproducibility is not easy to obtain. In a 2016 survey of over 1,500 scientists, 52% agreed that there was "a significant crisis" in the reproducibility of scientific results. Another 38% said there was "a slight crisis"; 7% "didn't know", and only 3% said there was no crisis. Worse, "more than 70% of researchers had tried and failed to reproduce another scientist's experiments, and more than half had failed to reproduce their own experiments (emphasis added). See Baker (2016).
  6. Xie et al. (2023, esp. sec. 2.7).
  7. Xie, Allaire, and Grolemund (2023).
  8. e.g., v:US Gross Domestic Product (GDP) per capita and v:Forecasting nuclear proliferation, accessed 5 January 2024. Many more examples are included in Xie, Dervieux, and Riederer (2023).
  9. "RStudio". rstudio.com. Archived from the original on 30 October 2015. Retrieved 2 December 2016.
  10. Verzani, John (23 September 2011). Getting Started with RStudio. O'Reilly Media, Inc. p. 4. ISBN   9781449309039.
  11. "rstudio/rstudio". GitHub. Archived from the original on 2018-06-10. Retrieved 2018-09-13.
  12. "portable download of java dependencies · rstudio/rstudio@484cb88 · GitHub". Github.com. 2010-12-07. Archived from the original on 2019-04-05. Retrieved 2015-05-01.
  13. "Announcing RStudio v1.0!". RStudio Blog. 1 November 2016. Archived from the original on 30 June 2017. Retrieved 1 November 2016.
  14. "RStudio v1.1 Released". RStudio Blog. 9 October 2017. Archived from the original on 28 October 2021. Retrieved 23 December 2017.
  15. "RStudio Addins". RStudio. Archived from the original on 2018-09-10. Retrieved 2018-09-16.
  16. "Posit Benefit Corporation Annual Report". Archived from the original on 2023-01-19. Retrieved 2023-01-19.
  17. "About". Posit.co. Archived from the original on 2022-11-02. Retrieved 2015-12-15.
  18. ""Statutes of "The R Foundation for Statistical Computing""" (PDF). The R Foundation. Archived (PDF) from the original on 2020-04-03. Retrieved 2019-08-12.
  19. "RStudio is becoming Posit". Posit.co. Archived from the original on 2022-11-02. Retrieved 2022-07-28.