Package: rpic 0.6.2

André Leite

rpic: The 'pic' Graphics Language Rendered to SVG, PNG and PDF

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.

Authors:André Leite [aut, cre, cph], The authors of the dependency Rust crates [cph]

rpic_0.6.2.tar.gz
rpic_0.6.2.tar.gz(r-4.7-arm64)rpic_0.6.2.tar.gz(r-4.7-x86_64)rpic_0.6.2.tar.gz(r-4.6-arm64)rpic_0.6.2.tar.gz(r-4.6-x86_64)
rpic_0.6.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
rpic/json (API)

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

Bug tracker:https://github.com/milkway/rpic-r/issues

Pkgdown/docs site:https://milkway.github.io

On CRAN:

Conda:

rustcargo

3.18 score 1 scripts 6 exports 0 dependencies

Last updated from:6a0e7e30db. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK307
linux-devel-x86_64OK255
source / vignettesOK468
linux-release-arm64OK284
linux-release-x86_64OK327
wasm-releaseOK275

Exports:rpic_knitr_enginerpic_manifestrpic_pdfrpic_pngrpic_register_knitrrpic_svg

Dependencies:

Circuit diagrams
Two-terminal elements | Labels — with TeX math | Logic gates | Multi-terminal devices | In R Markdown / Quarto

Last update: 2026-07-15
Started: 2026-07-15

CSS class hooks and animation
class: CSS hooks on shapes | animate: a timing manifest | Both layers together

Last update: 2026-07-15
Started: 2026-07-15

Getting started with rpic
A first picture | Positioning | Programmability | TeX math labels | rpic extensions | Errors you can point at | Where next

Last update: 2026-07-15
Started: 2026-07-15