chunkify: Interactivley Create Rmarkdown Chunks

Description Usage Details

View source: R/chunkify.R

Description

Addin that splits full documents into Rmarkdown chunks or wraps highlighted text in an active RStudio document editor in a Rmarkdown chunk.

Usage

1

Details

Setting chunky_opts$set(list(full_doc=TRUE)) chunky will convert entire document by chunky_opts$get('token'). The default token is the output from a purl conversion (## —-chunk name,chunk options—-).

Setting chunky_opts$set(list(full_doc=FALSE)), user highlights text and chunky will wrap a new Rmarkdown chunk around it, utilizing the other options in chunky_opts.


yonicd/chunky documentation built on May 29, 2019, 12:18 p.m.