RStudio

Integrated development environment for R From Wikipedia, the free encyclopedia

RStudio

RStudio IDE (or 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.).

Quick Facts Developer(s), Initial release ...
RStudio
Developer(s)Posit PBC
Initial release28 February 2011; 13 years ago (2011-02-28)[1]
Stable release
2024.12.0+467[2]  / 16 December 2024
Repository
Written inJava, C++, JavaScript[3]
Operating systemUbuntu, Fedora, Red Hat Linux, openSUSE, macOS, Windows NT
PlatformIA-32, x86-64; Qt
LicenseGNU Affero General Public License v3[4]
Websiteposit.co/products/open-source/rstudio
Close

Reproducible analyses with vignettes

Summarize
Perspective

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. These reports can also be exported in various formats, including HTML, PDF, Microsoft Word, and LaTeX, with templates specific to the requirements of many scientific journals.[7]

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]

In 2022, Posit announced an R Markdown-like publishing system called Quarto. In addition to combining results of R, code and results using Python, Julia, Observable JavaScript, and Jupyter notebooks can also be used in Quarto documents. Compared to the file extension .Rmd that R Markdown has, Quarto documents have the file extension .qmd.[9]

One difference between R Markdown files and Quarto documents is defining options in code chunks. In R Markdown, they would be inline within the curly brackets.

```{r chunk_name, echo=FALSE, warning=FALSE}
print(42)
```

In contrast, Quarto documents define the chunk options below the curly brackets, prefixed using a pound character and vertical pipe (or "hash-pipe").

```{r}
#| label: chunk_name
#| echo: false
#| warning: false
print(42)
```

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.[10]

Overview and history

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

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

Addins

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

  • bookdown – a knitr extension to create books
  • colourpicker – a graphical tool to pick colours for plots
  • datasets.load – a graphical tool to search and load datasets
  • googleAuthR – Authenticate with Google APIs

Development

The RStudio IDE is developed by Posit, PBC, a public-benefit corporation[17] founded by J. J. Allaire,[18] creator of the programming language ColdFusion. Posit has no formal connection to the R Foundation, a not-for-profit organization located in Vienna, Austria,[19] 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.[20]

See also

References

  • Monya Baker (25 May 2016). "1500 scientists lift the lid on reproducibility". Nature. 533: 452–454. ISSN 1476-4687. Wikidata Q124151114.
  • Karl Popper (1968), The Logic of Scientific Discovery, Harper, Wikidata Q124151064
  • Yihui Xie (25 May 2023), bookdown: Authoring Books and Technical Documents with R Markdown, Chapman & Hall, Wikidata Q124151352
  • Yihui Xie; Joseph J. Allaire; Garrett Grolemund (30 December 2023), R Markdown: The Definitive Guide, Chapman & Hall, Wikidata Q76441281
  • Yihui Xie; Christophe Dervieux; Emily Riederer (30 December 2023), R Markdown Cookbook, Chapman & Hall, Wikidata Q124151180

Notes

Wikiwand - on

Seamless Wikipedia browsing. On steroids.