purl_chunks: purl_chunks

Description Usage Arguments Author(s) See Also

View source: R/purl_chunks.R

Description

The function purl_chunks takes an Rmarkdown file and returns each chunk as a seperate R file. It was found on stackoverflow at (https://stackoverflow.com/questions/35855837/with-knitr-preserve-chunk-options-when-purling-chunks-into-separate-files)

Usage

1
purl_chunks(input_file, input_path = "src/chunks")

Arguments

input_file

String of the input file name to the Rmarkdown file that will be purlled into seperate chunks

input_path

String of the path where to place the R files of each of the chunks

Author(s)

Kirk Gosik <kdgosik@gmail.com>

See Also

knitr


kdgosik/NotebookToSite documentation built on May 3, 2019, 1:48 p.m.