Skip to contents

Knit using knitr, but prefix file name to figure and cache folder (to knit in parallel on e.g. a cluster)

Usage

knit_prefixed(input, ...)

Arguments

input

input document

...

all arguments passed to knitr::knit()

Value

A length-1 character string of knitted output, with figure/cache paths prefixed by the input file name.