Draws teaching diagrams of the contents of common 'R' data structures (vectors, matrices, data frames, lists, and arrays) so their shape and values can be read at a glance. Two backends render the same picture, with base 'R' graphics through the paint_*() functions and 'ggplot2' through the gpaint_*() functions. The label under each cell is the expression you would type to reach that cell, so every diagram doubles as a lesson in how to subset and index the object it draws.
| Version: | 0.0.1 |
| Depends: | R (≥ 4.2.0) |
| Imports: | graphics, grDevices, grid |
| Suggests: | downlit, evaluate, ggplot2, knitr, quarto, svglite, testthat (≥ 3.0.0), withr |
| Published: | 2026-08-06 |
| DOI: | 10.32614/CRAN.package.paintr (may not be active yet) |
| Author: | James Joseph Balamuta
|
| Maintainer: | James Joseph Balamuta <james.balamuta at gmail.com> |
| BugReports: | https://github.com/coatless-rpkg/paintr/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://github.com/coatless-rpkg/paintr, https://r-pkg.thecoatlessprofessor.com/paintr/ |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | paintr results |
| Reference manual: | paintr.html , paintr.pdf |
| Vignettes: |
Base graphics and ggplot2 (source, R code) Highlighting cells (source, R code) Getting started with paintr (source, R code) |
| Package source: | paintr_0.0.1.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): paintr_0.0.1.tgz, r-oldrel (arm64): paintr_0.0.1.tgz, r-release (x86_64): paintr_0.0.1.tgz, r-oldrel (x86_64): paintr_0.0.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=paintr to link to this page.