Learn R Programming

samatha (version 0.41)

knit.post: knits an Rmd post to md

Description

If a blog post involves a lot of heavy computation, it may be useful to be able to knit the Rmd to md first. This should be true whether using samatha with initial=TRUE or FALSE.

Usage

knit.post(rmd.file, md.file, fig.path)

Arguments

rmd.file
the full path to the R markdown file to knit
md.file
the full path to the markdown file output
fig.path
the absolute figure path used by the samatha site

Value

character md file name if successful, empty value otherwise