knit2wiki: Knit .Rmd files to personal wiki directory as properly...

Description Usage Arguments

View source: R/knit2wiki.R

Description

This function knits a .Rmd file to .html and sends the result to a personal wiki source directory with proper yaml front matter

Usage

1
2
knit2wiki(file, generate = FALSE, format = "html_document",
  subdir = "inbox", wikidir = getOption("wikidir"), ...)

Arguments

file

The .Rmd file to knit

generate

'rake generate' the website? Defaults to FALSE.

format

How to render the document. See ?rmarkdown::render for options

subdir

Location to put file relative to wikidir. Defaults to "inbox"

wikidir

Location of wiki library (assuming Wikitten structure)

...

passed to rmarkdown::render


markwh/markwrites documentation built on May 21, 2019, 12:26 p.m.