RStudio explained

RStudio
RStudio
Developer:Posit PBC
Programming Language:Java, C++, JavaScript[1]
Operating System:Ubuntu, Fedora, Red Hat Linux, openSUSE, macOS, Windows NT
Platform:IA-32, x86-64; Qt
License:GNU Affero General Public License v3[2]

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.).

Reproducible analyses with vignettes

A strength of RStudio is its support for reproducible analyses[3] 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,[4] 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.[5]

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

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

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. ``` 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"). ``` #| 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.[8]

Overview and history

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

Work on the RStudio IDE started around December 2010,[11] and the first public beta version (v0.92) was officially announced in February 2011.[12] 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

Notes and References

  1. Web site: rstudio/rstudio. GitHub. RStudio. 18 December 2016. 5 April 2019. https://web.archive.org/web/20190405131710/https://github.com/rstudio/rstudio/. live.
  2. Web site: What license is RStudio available under? – RStudio . Pylvainen . Ian . rstudio.com . 2016-03-24 . 2018-05-25 . 2018-05-26 . https://web.archive.org/web/20180526040945/https://support.rstudio.com/hc/en-us/articles/217801078-What-license-is-RStudio-available-under- . live .
  3. [Reproducibility]
  4. Xie et al. (2023, esp. sec. 2.7).
  5. Xie, Allaire, and Grolemund (2023).
  6. e.g., and, accessed 5 January 2024. Many more examples are included in Xie, Dervieux, and Riederer (2023).
  7. Web site: Machlis . Sharon . 2022-07-28 . What is Quarto? RStudio rolls out next-generation R Markdown . 2024-05-17 . InfoWorld . en.
  8. Web site: RStudio. rstudio.com. 2 December 2016. 30 October 2015. https://web.archive.org/web/20151030120222/https://www.rstudio.com/products/rstudio/. live.
  9. Book: Verzani, John. Getting Started with RStudio. 23 September 2011. O'Reilly Media, Inc. 9781449309039. 4.
  10. Web site: rstudio/rstudio. GitHub. en. 2018-09-13. 2018-06-10. https://web.archive.org/web/20180610233904/https://github.com/rstudio/rstudio. live.
  11. Web site: portable download of java dependencies · rstudio/rstudio@484cb88 · GitHub . Github.com . 2010-12-07 . 2015-05-01 . 2019-04-05 . https://web.archive.org/web/20190405131717/https://github.com/rstudio/rstudio/commit/484cb884c28913c19822c42b0cd099ee22832211 . live .
  12. Web site: RStudio, new open-source IDE for R | RStudio Blog . Blog.rstudio.org . 2015-05-01 . 2015-01-24 . https://web.archive.org/web/20150124101406/http://blog.rstudio.org/2011/02/28/rstudio-new-open-source-ide-for-r/ . live .
  13. Web site: Announcing RStudio v1.0!. RStudio Blog. 1 November 2016. 1 November 2016. 30 June 2017. https://web.archive.org/web/20170630032325/https://blog.rstudio.org/2016/11/01/announcing-rstudio-v1-0/. live.
  14. Web site: RStudio v1.1 Released. RStudio Blog. 9 October 2017. 23 December 2017. 28 October 2021. https://web.archive.org/web/20211028093407/https://blog.rstudio.com/2017/10/09/rstudio-v1.1-released/. dead.
  15. Web site: RStudio Addins. RStudio. 2018-09-16. 2018-09-10. https://web.archive.org/web/20180910094946/http://rstudio.github.io/rstudioaddins/. live.
  16. Web site: Posit Benefit Corporation Annual Report. 2023-01-19. 2023-01-19. https://web.archive.org/web/20230119135242/https://posit.co/about/pbc-report/. live.
  17. Web site: About . Posit.co . 2015-12-15 . 2022-11-02 . https://web.archive.org/web/20221102162102/https://posit.co/about/ . live .
  18. Web site: "Statutes of "The R Foundation for Statistical Computing"" . The R Foundation . 2019-08-12 . 2020-04-03 . https://web.archive.org/web/20200403234736/https://www.r-project.org/foundation/Rfoundation-statutes.pdf . live .
  19. Web site: RStudio is becoming Posit . Posit.co . 2022-07-28 . 2022-11-02 . https://web.archive.org/web/20221102164456/https://posit.co/blog/rstudio-is-becoming-posit/ . live .