[go: up one dir, main page]

Jump to content

R (programming language)

From Wikiversity
(Redirected from How to use R)

R is a

  • powerful, free and open source, cross-platform, statistical and graphing software package;
  • programming language;
  • software environment for statistical computing.

Downloading R

[edit | edit source]

Visit the R Project home page.

Integrated development environments for R

[edit | edit source]

R can be accessed from a command-line interface. There are a variety of graphical user interfaces that work well with R, including one that ships with it.

RStudio is a very popular integrated development environment that works well with R and other languages, as does Jupyter.[1][2]

RStudio supports RMarkdown, which makes it relatively easy for researchers to make their work reproducible by allowing them to mix text with code of different languages, most commonly R, in the same document. The platform supports mixing R with Python (programming language), shell scripts, SQL, Stan (software), JavaScript, CSS, Julia (programming language), C (programming language), Fortran, and other languages in the same RMarkdown document.[3] Jupyter notebooks provide a similar capability but may be more popular among Python users while RStudio may be more popular among people primarily using R.

Both RStudio and Jupyter are free and open-source software, but RStudio is developed and maintained by a commercial enterprise that offers paid support options.

RStudio in the cloud

[edit | edit source]

There are web-based portals for RStudio, including the following:

  • RStudio Cloud[4] As of 2020-10-24 users can "get started for free".
  • RStudio Server Pro for AWS[5]

Tutorials

[edit | edit source]

Books that are Helpful When Learning R

[edit | edit source]
  • An R Companion for Applied Regression (2nd ed.) - ISBN 141297514X
  • An Introduction to R, by W. N. Venables, D. M. Smith, and the R Development Core Team (PDF)
  • R in Action - ISBN 1935182390
  • Efficient programming in R [6].
  • Advanced R by Hadley Wickham

See also

[edit | edit source]
[edit | edit source]

Books

[edit | edit source]
  1. "7 of the Best Free Graphical User Interfaces for R". linuxlinks.com. Retrieved 9 February 2016.
  2. "List of R Editors". r-dir. Retrieved 2018-08-07.
  3. Yihui Xie; Joseph J. Allaire; Garrett Grolemund (30 December 2023), R Markdown: The Definitive Guide, Chapman and Hall, Wikidata Q76441281.
  4. RStudio Cloud, Wikidata Q100799903.
  5. RStudio Server Pro for AWS, Wikidata Q100800280.
  6. "Speeding Up Ecological and Evolutionary Computations in R; Essentials of High Performance Computing for Biologists". PLOS Computational Biology 11 (3): e1004140. 2015. doi:10.1371/journal.pcbi.1004140. ISSN 1553-7358.