Renders diagrams written in the 'pic' picture-drawing language (Kernighan, 1984) to SVG, PNG and PDF, using 'rpic' <https://github.com/milkway/rpic-lang>, a reimplementation of 'pic' in 'Rust' with no system dependencies. Includes a native circuit-element library in the spirit of 'circuit_macros', TeX math labels typeset natively, structured compile diagnostics, and a 'knitr' language engine for inline diagrams in 'R Markdown' and 'Quarto' documents.
| Version: | 0.6.2 |
| Depends: | R (≥ 4.2) |
| Suggests: | knitr, rmarkdown |
| Published: | 2026-07-15 |
| DOI: | 10.32614/CRAN.package.rpic (may not be active yet) |
| Author: | André Leite [aut, cre, cph],
The authors of the dependency Rust crates [cph] (see inst/AUTHORS for
details) rpic author details |
| Maintainer: | André Leite <leite at castlab.org> |
| BugReports: | https://github.com/milkway/rpic-r/issues |
| License: | BSD_2_clause + file LICENSE |
| URL: | https://milkway.github.io/rpic-r/, https://github.com/milkway/rpic-r, https://github.com/milkway/rpic-lang |
| NeedsCompilation: | yes |
| SystemRequirements: | Cargo (Rust's package manager), rustc |
| Materials: | README, NEWS |
| CRAN checks: | rpic results |
| Reference manual: | rpic.html , rpic.pdf |
| Vignettes: |
Circuit diagrams (source, R code) CSS class hooks and animation (source, R code) Getting started with rpic (source, R code) |
| Package source: | rpic_0.6.2.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): rpic_0.6.2.tgz, r-oldrel (arm64): rpic_0.6.2.tgz, r-release (x86_64): rpic_0.6.2.tgz, r-oldrel (x86_64): rpic_0.6.2.tgz |
Please use the canonical form https://CRAN.R-project.org/package=rpic to link to this page.