richfitz / sowsear

Frictionless literate programming: generate knitr files from R scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
some.code()

To this

# Heading
Description
``` {r }
some.code()
```

which can then be run through knit.

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

About

Frictionless literate programming: generate knitr files from R scripts


Languages

Language:R 85.4%Language:Makefile 14.6%