Tools · SPBoucher
Menu

R

by R Foundation / R Core Team · Language · also known as R Project, GNU R, R language

Language and environment for statistical computing and graphics, with the CRAN package archive and a strong base in academic statistics and econometrics

GPL-2.0-or-later licenseOpen sourceFreeLocalSelf-hostedSelf-hostable
Visit official site Compare

Link verified Nov 2, 2026

Overview

R is a programming language and interpreter for statistical computing and graphics, maintained by the R Core Team and supported by the R Foundation. It descends from the S language and is distributed under the GNU GPL. The base distribution includes vectors, data frames, model-fitting functions, random number generation and a graphics system; the Comprehensive R Archive Network (CRAN) adds thousands of peer-reviewed packages covering econometrics, time series, spatial statistics, bioinformatics and reporting.

R is usually driven from an IDE such as RStudio or Positron, or from literate documents produced with R Markdown and Quarto, which makes it a common choice for reproducible academic papers and teaching material. Package families such as the tidyverse, data.table and fixest shape most contemporary code. Limits include single-threaded execution by default, memory-bound in-memory data frames, and a smaller footprint than Python in general-purpose programming and production web services.

Capabilities

  • Vectorized statistical computing and model fitting
  • Publication-quality graphics (base, grid, ggplot2)
  • CRAN package ecosystem with automated checks
  • Literate programming through R Markdown and Quarto
  • Interfaces to C, C++ (Rcpp) and Fortran

Typical workflows

  1. Estimate econometric models and export tables for a paper
  2. Produce reproducible reports and slides from Quarto documents
  3. Teach statistics with interactive scripts

Strengths

  • Deep statistical and econometric package coverage
  • Strong reproducible-research culture
  • Free software under the GPL

Limitations

  • In-memory data frames limit dataset size
  • Single-threaded by default
  • Less used for production services and general software

Prerequisites

  • R binary from CRAN or a package manager; an IDE such as RStudio or Positron is typical

Who it is for

  • Statisticians and econometricians
  • Academic researchers and students
  • Data analysts producing reports

Alternatives & comparison

Python offers a broader general-purpose ecosystem and dominates machine learning, while R keeps an edge in classical statistics, econometrics packages and literate reporting. Stata and MATLAB are commercial environments with curated documentation and support; R is free and community-maintained, which trades vendor support for breadth and openness.

  • arch (Python package)

    Kevin Sheppard's Python package for univariate ARCH/GARCH volatility models, bootstraps, multiple-comparison procedures, unit-root and cointegration tests

    Open sourceFree
  • EViews

    Commercial Windows econometrics package for time-series estimation, forecasting and macro modelling, sold as single-user, volume, University and free Student Lite editions

    ProprietaryPaid
  • fixest

    R package for fast estimation of OLS, GLM, Poisson, IV and difference-in-differences models with many fixed effects, clustered errors, multiple estimations and publication tables

    Open sourceFree
  • gretl

    Free, GPL-licensed cross-platform econometrics program with a GUI, the hansl scripting language and estimators for time series, panels and limited dependent variables

    Open sourceFree
  • Julia

    Dynamically typed, JIT-compiled language for numerical and scientific computing that aims to combine high-level syntax with compiled-code speed

    Open sourceOpen source
  • MATLAB

    MathWorks' commercial numeric computing environment and language for engineers and scientists, with toolboxes, Simulink integration, apps and MATLAB Online

    ProprietaryPaid
  • Matplotlib

    The foundational Python plotting library for static, publication-quality figures with full control over every element, exported to PDF, SVG, PNG and PGF

    Open sourceOpen source
  • pandas

    The standard Python DataFrame library for labeled tabular data, time series and I/O to CSV, Excel, SQL, Parquet and more

    Open sourceOpen source
  • Python

    General-purpose, dynamically typed programming language with a large standard library and the dominant ecosystem for data science and machine learning

    Open sourceOpen source
  • RStudio IDE

    Posit's open-source integrated development environment for R, with console, editor, plots, environment panes, Quarto/R Markdown authoring and Python via reticulate

    MixedFree
  • Stata

    Commercial statistical software from StataCorp widely used in economics and social science, with editions BE/SE/MP, a command language, Mata and comprehensive PDF manuals

    ProprietaryPaid
  • statsmodels

    Python library for estimating statistical and econometric models with R-style formulas, rich result summaries and tests: OLS, GLM, discrete choice, ARIMA, state space, VAR and more

    Open sourceFree
Compare R with its alternatives →

Sources & verification

Primary sources consulted for this record. Claims are tied to the fields each source supports; the automated link checker re-verifies every URL on a schedule.

  • License
    R Licenses

    https://www.r-project.org/Licenses

    Supports: license_spdx, source_model

    GPL-2 and GPL-3 texts published; R is distributed under GPL-2 or later

    checked Nov 1, 2026
  • Official documentation
    R Manuals

    https://cran.r-project.org/manuals.html

    Supports: capabilities

    checked Nov 1, 2026
  • Official site
    R: The R Project for Statistical Computing

    https://www.r-project.org/

    Supports: name, summary, vendor

    checked Nov 1, 2026
Confidence
High
Reviewed
Nov 1, 2026
Links
Verified · Nov 2, 2026

Spotted an error?

Broken link, outdated license, wrong category, or a tool that no longer exists? Tell us; reports are reviewed by the editor.

Homebrew

Homebrew maintainers · macOS system utilities

In-depth entry

Community-maintained package manager for macOS and Linux that installs command-line tools (formulae) and desktop apps (casks) from the terminal

BSD-2-ClauseOpen sourceFreeLocalNov 2, 2026

Node.js

OpenJS Foundation · Programming languages & runtimes

In-depth entry

Server-side JavaScript runtime built on the V8 engine, governed by the OpenJS Foundation, with npm as its package ecosystem

MITOpen sourceFreeLocalSelf-hostedBroken

Swift

Apple Inc. · Swift & SwiftUI development

In-depth entry

Apple's compiled, memory-safe, multi-paradigm language for Apple platforms, Linux, Windows and embedded targets, developed in the open at swift.org

Apache-2.0Open sourceFreeLocalNov 2, 2026

TypeScript

Microsoft · Programming languages & runtimes

In-depth entry

Statically typed superset of JavaScript from Microsoft that compiles to plain JavaScript and powers editor tooling across the web ecosystem

Apache-2.0Open sourceFreeLocalSelf-hostedNov 2, 2026

Lean

Lean FRO · Mathematical & statistical computing

Open-source functional programming language and interactive theorem prover with dependent types, the Mathlib mathematics library and VS Code tooling, stewarded by the Lean FRO

Apache-2.0FreeOpen sourceLocalNov 2, 2026

uv

Astral · Programming languages & runtimes

In-depth entry

Rust-based Python package and project manager from Astral that replaces pip, venv, pip-tools and pyenv with one command-line tool

MIT OR Apache-2.0Open sourceFreeLocalNov 2, 2026