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:
There are essentially three commands:
pantcl
- converting Rmarkdown documents with embedded code to HTMLptangle
- extract programming code into script files from the Markdown documentpangui
- 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 codeBelow you see an image of the graphical tool:
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: Detlef Groth, University of Potsdam, Germany
License: MIT License see the file LICENSE for details.
In case of bugs and suggestions, use the issues link on top.