Package: patchwork 1.3.2.9000

patchwork: The Composer of Plots

The 'ggplot2' package provides a strong API for sequentially building up a plot, but does not concern itself with composition of multiple plots. 'patchwork' is a package that expands the API to allow for arbitrarily complex composition of plots by, among others, providing mathematical operators for combining multiple plots. Other packages that try to address this need (but with a different approach) are 'gridExtra' and 'cowplot'.

Authors:Thomas Lin Pedersen [cre, aut]

patchwork_1.3.2.9000.tar.gz
patchwork_1.3.2.9000.zip(r-4.6)patchwork_1.3.2.9000.zip(r-4.5)patchwork_1.3.2.9000.zip(r-4.4)
patchwork_1.3.2.9000.tgz(r-4.6-any)patchwork_1.3.2.9000.tgz(r-4.5-any)
patchwork_1.3.2.9000.tar.gz(r-4.6-any)patchwork_1.3.2.9000.tar.gz(r-4.5-any)
patchwork_1.3.2.9000.tgz(r-4.5-emscripten)
patchwork.pdf |patchwork.html
patchwork/json (API)
NEWS

# Install 'patchwork' in R:
install.packages('patchwork', repos = c('https://thomasp85.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/thomasp85/patchwork/issues

Pkgdown/docs site:https://patchwork.data-imaginist.com

On CRAN:

Conda:

ggplot-extensionggplot2visualization

19.67 score 2.6k stars 782 packages 113k scripts 215k downloads 38 mentions 18 exports 17 dependencies

Last updated from:6b1d88ce1d. Checks:9 OK. Indexed: yes.

TargetResultTotal timeArtifact
linux-devel-x86_64OK190
source / vignettesOK212
linux-release-x86_64OK190
macos-devel-arm64OK169
macos-release-arm64OK177
windows-develOK179
windows-releaseOK150
windows-oldrelOK157
wasm-releaseOK121

Exports:align_patchesalign_plotsareafreeget_dimget_max_dimguide_areainset_elementpatchGrobpatchworkGrobplot_annotationplot_layoutplot_spacerset_dimwrap_elementswrap_ggplot_grobwrap_plotswrap_table

Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerrlangS7scalesvctrsviridisLitewithr

Getting Started

Rendered frompatchwork.Rmdusingknitr::rmarkdownon Jan 23 2026.

Last update: 2022-08-18
Started: 2019-11-21

  • Image