R package
R packages are extensions to the R statistical programming language.[src] R packages contain code, data, and documentation in a standardised collection format that can be installed by users of R, typically via a centralised software repository such as CRAN (the Comprehensive R Archive Network).[src] The large number of packages available for R, and the ease of installing and using them, has been cited as a major factor driving the widespread adoption of the language in data science.[src] Compared to libraries in other programming languages, R packages must conform to a relatively strict specification.[src] The Writing R Extensions manual specifies a standard directory structure for R source code, data, documentation, and package metadata, which enables them to be installed and loaded using R's in-built package management tools.[src] Packages distributed on CRAN must meet additional standards.[src] According to John Chambers, whilst these requirements "impose considerable demands" on package developers, they improve the usability and long-term stability of packages for end users.[src]
R packages are extensions to the R statistical programming language.[src] R packages contain code, data, and documentation in a standardised collection format that can be installed by users of R, typically via a centralised software repository such as CRAN (the Comprehensive R Archive Network).[src] The large number of packages available for R, and the ease of installing and using them, has been cited as a major factor driving the widespread adoption of the language in data science.[src] Compared to libraries in other programming languages, R packages must conform to a relatively strict specification.[src] The Writing R Extensions manual specifies a standard directory structure for R source code, data, documentation, and package metadata, which enables them to be installed and loaded using R's in-built package management tools.[src] Packages distributed on CRAN must meet additional standards.[src] According to John Chambers, whilst these requirements "impose considerable demands" on package developers, they improve the usability and long-term stability of packages for end users.[src] ===MRAN and Posit Package Manager=== The Microsoft R Application Network (MRAN) is a mirror of CRAN maintained by Microsoft which is based on the company's downstream distribution of R, Microsoft R Open (formerly Revolution R Open).[src] It also includes an archive of daily CRAN snapshots, branded as the "CRAN Time Machine", which enables users of MRAN to bypass the dependency versioning limitations of CRAN by installing a fixed set of R package versions via the package checkpoint.[src] In January 2023 Microsoft announced that MRAN was being retired and the associated websites and repositories became unavailable in July 2023.[src] The Posit Package Manager (formerly RStudio Package Manager) is a similar tool produced by the developers of RStudio which, in addition to CRAN snapshots, includes an archive of R packages from Bioconductor and Python packages from the Python Package Index.[src] It also distributes pre-compiled binary packages for Linux (only Windows and macOS binaries are included on CRAN).[src] ==Other packages== A group of packages called the tidyverse, which can be considered a "dialect of the R language", is increasingly popular in the R ecosystem.[src] As of 1 August 2025, Metacran listed 6 of the 8 core packages of the tidyverse in the list of most downloaded R packages.[src] The group of packages strives to provide a cohesive collection of functions to deal with common data science tasks, including data import, cleaning, transformation and visualisation (notably with the ggplot2 package).[src] The R Infrastructure packages support coding and the development of R packages and as of 1 August 2025, Metacran lists 8 of these packages among the 25 most downloaded packages.[src] ==See also== tidyverse ggplot2 knitr ==References==[src]
24 sentences · 24 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"R package." encyclopegia.org, 2026, https://encyclopegia.org/wiki/r-package. Accessed 29 November 2026.
Chicago
"R package." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/r-package.
APA
encyclopegia.org. (2026). R package. Retrieved November 29, 2026, from https://encyclopegia.org/wiki/r-package
Accessed November 29, 2026 · CC BY-SA 4.0 · citation page · JSON