WIPIVERSE All articles

R (programming language)

R is a programming language for statistical computing and data visualization. It has been widely adopted in the fields of data mining, bioinformatics, data analysis, and data science. R is free and open-source software distributed under the GNU General Public License, with its core implementation written primarily in C, Fortran, and R itself.

History

R was started by professors Ross Ihaka and Robert Gentleman as a programming language to teach introductory statistics at the University of Auckland. The language was inspired by the S programming language, with most S programs able to run unaltered in R. It was also influenced by Scheme's lexical scoping, allowing for local variables. The name "R" comes from both being an S language successor and the shared first letter of the authors' names, Ross and Robert. In August 1993, Ihaka and Gentleman posted a binary file of R on StatLib. On 5 December 1997, R became a GNU project when version 0.60 was released. Version 1.0 was released on 29 February 2000.

Design and Features

R is an interpreted language with a native command line interface. It supports multiple programming paradigms including procedural, object-oriented, functional, reflective, imperative, and array programming. The language uses dynamic typing and runs on arm64 and x86-64 platforms. Filename extensions include .R, .r, .rdata, .rhistory, .rds, and .rda.

The core R language is extended by a large number of software packages containing reusable code, documentation, and sample data. The Comprehensive R Archive Network (CRAN), founded in 1997 by Kurt Hornik and Friedrich Leisch, hosts R's source code, executables, documentation, and user-created packages. As of 30 June 2025, CRAN had 90 mirrors and 22,390 contributed packages.

Packages and Ecosystem

Some of the most popular R packages are in the tidyverse collection, which enhances functionality for visualizing, transforming, and modelling data. Packages can add reporting features (using packages such as R Markdown, Quarto, knitr, and Sweave) and support for various statistical techniques including linear, generalized linear and nonlinear modeling, classical statistical tests, spatial analysis, time-series analysis, and clustering. The Bioconductor project provides packages for genomic data analysis.

Community and Governance

There are three main groups that help support R software development:

  • The R Core Team — founded in 1997 to maintain the R source code. In 2026, it was awarded the Rousseeuw Prize for Statistics.
  • The R Foundation for Statistical Computing — founded in April 2003 to provide financial support.
  • The R Consortium — a Linux Foundation project to develop R infrastructure.

The R Journal is an open access, academic journal featuring articles on the use and development of R. The community hosts many conferences, including the annual useR! conference, R-Ladies (an organization promoting gender diversity), and SatRdays.

Interfaces and Implementations

R is installed with a command line console by default. Third-party graphical user interfaces include RStudio (an integrated development environment), Jupyter (a notebook interface), as well as Termux and Google Colab for mobile devices. Other implementations include Renjin (for the Java Virtual Machine), Oracle's FastR (built on GraalVM), and pqR (pretty quick R).

Version History

All R version releases from 2.14.0 onward have codenames referencing Peanuts comics and films. Notable early releases include Version 1.0.0 (29 February 2000) and Version 2.0.0 (4 October 2004). The stable release as of the available data is 4.6.1, released on 24 June 2026.

Commercial Support

Although R is open-source, some companies provide commercial support. Oracle provides commercial support for its Big Data Appliance integrating R into its other products, and IBM provides commercial support for execution of R within Hadoop.

Browse

More topics to explore

    Browse all articles