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.

Package details

AuthorAndré Leite [aut, cre, cph], The authors of the dependency Rust crates [cph] (see inst/AUTHORS for details)
MaintainerAndré Leite <leite@castlab.org>
LicenseBSD_2_clause + file LICENSE
Version0.6.2
URL https://milkway.github.io/rpic-r/ https://github.com/milkway/rpic-r https://github.com/milkway/rpic-lang
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("rpic")

Try the rpic package in your browser

Any scripts or data that you put into this service are public.

rpic documentation built on July 15, 2026, 9:06 a.m.