Frictionless literate programming: generate knitr files from R scripts
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

sowsear: Make Silk (knitr files) from a sow's ear (an R script)

Build Status

Make silk from a sow's ear by converting a plain R script into something that can be knit()'ed with knitr!

Basically, convert an R script from something like this:

## # Heading
## Description

To this

# Heading
``` {r }

which can then be run through knit.

Note that a version of sowsear is directly available in knitr as spin, though with different defaults.