Skip to content

mittelmark/pantcl4r

Repository files navigation

pantcl4r

A R package for literate programming.

This package can be used to create reports and manuscripts with embedded programming code where the code can be evaluated by the script language or a diagram, charting or diagramming tool and the output will be embedded in the final manuscript.

This is a small scale alternative to Sweave, Rmarkdown, Knitr etc. It is essentially a wrapper for the pantcl which does not need an installed version of pandoc or any other R package.

It allows the embedding for the following programming languages and tools:

Filter documentation:

Commands

There are essentially three commands:

  • pantcl - converting Rmarkdown documents with embedded code to HTML
  • ptangle - extract programming code into script files from the Markdown document
  • pangui - simple graphical interface to edit abc music, Graphviz dot, Eqn equations, Mermaid diagrams, Pikchr and Pic code, Plantuml code, R-plots and Tcl-svg or Tcl-dot code

Below you see an image of the graphical tool:

Build and Install

To install this package you need only an installed R instance and the remotes library.

library(remotes)
remotes::install_github("https://github.com/mittelmark/pantcl4r")

Author and Copyright

Author: Detlef Groth, University of Potsdam, Germany

License: MIT License see the file LICENSE for details.

Bug reporting

In case of bugs and suggestions, use the issues link on top.

About

Using the pantcl application as R package for literate programming

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published