Software:RStudio

From HandWiki
Revision as of 14:32, 9 February 2024 by Gametune (talk | contribs) (url)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Integrated development environment for R
RStudio
RStudio logo flat.svg
RStudio IDE screenshot.png
RStudio Version 1.4.1564 on MacOS 10.15.7
Developer(s)Posit, PBC
Initial release28 February 2011; 13 years ago (2011-02-28)[1]
Written inJava, C++, JavaScript[2]
Operating systemUbuntu, Fedora, Red Hat Linux, openSUSE, macOS, Windows NT
PlatformIA-32, x86-64; Qt
LicenseGNU Affero General Public License v3[3]
Websiteposit.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.).

Reproducible analyses with R Markdown vignettes

A strength of RStudio is its support for reproducible analyses 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 with the results exported various formats, including HTML, PDF, Microsoft Word, and LaTeX, with templates specific to the requirements of many scientific journals.[5] Xie (2023) describes how to use it to write books.

Reproducibility is key to science,[6] but it 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).[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]

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:

  • 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[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

References

Notes

  1. 1.0 1.1 "RStudio, new open-source IDE for R | RStudio Blog". Blog.rstudio.org. http://blog.rstudio.org/2011/02/28/rstudio-new-open-source-ide-for-r/. 
  2. "rstudio/rstudio". RStudio. https://github.com/rstudio/rstudio/. 
  3. Pylvainen, Ian (2016-03-24). "What license is RStudio available under? – RStudio". rstudio.com. http://support.rstudio.com/hc/en-us/articles/217801078-What-license-is-RStudio-available-under-. 
  4. Xie et al. (2023, esp. sec. 2.7).
  5. Xie, Allaire, and Grolemund (2023).
  6. 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).
  7. Baker (2016).
  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. https://www.rstudio.com/products/RStudio/. 
  10. Verzani, John (23 September 2011). Getting Started with RStudio. O'Reilly Media, Inc. p. 4. ISBN 9781449309039. 
  11. "rstudio/rstudio" (in en). https://github.com/rstudio/rstudio. 
  12. "portable download of java dependencies · rstudio/rstudio@484cb88 · GitHub". Github.com. 2010-12-07. https://github.com/rstudio/rstudio/commit/484cb884c28913c19822c42b0cd099ee22832211. 
  13. "Announcing RStudio v1.0!". 1 November 2016. https://blog.rstudio.org/2016/11/01/announcing-rstudio-v1-0/. 
  14. "RStudio v1.1 Released". 9 October 2017. https://blog.rstudio.com/2017/10/09/rstudio-v1.1-released/. 
  15. "RStudio Addins". https://rstudio.github.io/rstudioaddins/. 
  16. "Posit Benefit Corporation Annual Report". https://posit.co/about/pbc-report/. 
  17. "About". Posit.co. https://posit.co/about/. 
  18. ""Statutes of "The R Foundation for Statistical Computing""". The R Foundation. https://www.r-project.org/foundation/Rfoundation-statutes.pdf. 
  19. "RStudio is becoming Posit". Posit.co. https://posit.co/blog/rstudio-is-becoming-posit/. 

External links