{
  "slug": "r",
  "name": "R",
  "aliases": ["R Project", "GNU R", "R language"],
  "vendor": { "name": "R Foundation / R Core Team", "slug": "r-foundation", "website": "https://www.r-project.org" },
  "homepage_url": "https://www.r-project.org/",
  "docs_url": "https://cran.r-project.org/manuals.html",
  "repo_url": "https://github.com/wch/r-source",
  "license_url": "https://www.r-project.org/Licenses/",
  "product_type": "language",
  "product_status": "active",
  "summary": "Language and environment for statistical computing and graphics, with the CRAN package archive and a strong base in academic statistics and econometrics",
  "description": "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.\n\nR 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"],
  "workflows": ["Estimate econometric models and export tables for a paper", "Produce reproducible reports and slides from Quarto documents", "Teach statistics with interactive scripts"],
  "advantages": ["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"],
  "audiences": ["Statisticians and econometricians", "Academic researchers and students", "Data analysts producing reports"],
  "alternatives": ["python", "julia", "stata", "matlab"],
  "comparison_notes": "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.",
  "categories": [{ "slug": "programming-languages", "primary": true }, { "slug": "math-stats-tools" }, { "slug": "econometrics-causal-inference" }],
  "tags": ["r", "open-source", "econometrics", "statistics", "notebooks"],
  "use_cases": ["estimate-causal-effects", "write-papers", "typeset-documents"],
  "operating_systems": ["macos", "linux", "windows"],
  "execution_modes": ["local", "self-hosted"],
  "interfaces": ["cli", "library"],
  "deployment_models": ["desktop", "on-premises"],
  "integrations": ["RStudio", "Positron", "Quarto", "CRAN", "Rcpp", "Jupyter"],
  "data_formats": ["RDS", "RData", "CSV", "Parquet (arrow)", "Feather"],
  "languages": ["R", "C", "Fortran"],
  "source_model": "open-source",
  "license_spdx": "GPL-2.0-or-later",
  "pricing_model": ["open-source", "free"],
  "self_hostable": true,
  "sources": [
    { "url": "https://www.r-project.org/", "type": "official_site", "title": "R: The R Project for Statistical Computing", "supports": ["name", "summary", "vendor"], "checked_at": "2026-11-02" },
    { "url": "https://cran.r-project.org/manuals.html", "type": "official_docs", "title": "R Manuals", "supports": ["capabilities"], "checked_at": "2026-11-02" },
    { "url": "https://www.r-project.org/Licenses/", "type": "license_page", "title": "R Licenses", "supports": ["license_spdx", "source_model"], "checked_at": "2026-11-02", "note": "GPL-2 and GPL-3 texts published; R is distributed under GPL-2 or later" }
  ],
  "confidence": "high",
  "discovery_method": "editorial-research",
  "depth": "standard",
  "editorial_status": "reviewed",
  "visibility": "public",
  "featured": false,
  "author": "batch-B1"
}
