The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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.

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

Documentation:

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)

Downloads:

Package source: rpic_0.6.2.tar.gz
Windows binaries: r-devel: not available, r-release: rpic_0.6.2.zip, 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

Linking:

Please use the canonical form https://CRAN.R-project.org/package=rpic to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.