insert_purl_section: Insert Purl Section

Description Usage Arguments Details Author(s) See Also

View source: R/insert_purl_section.R

Description

insert_purl_section insert ## ---- ---- at an empty line in the script, or turns a non-empty line to a comment with purl section header ## ---- (or turns it back). The header is recognised by knitr::read_chunk to read code for each chunk in the rmarkdown file from R script. See ?knitr::read_chunk for more details. I suggest binding this addin with shortcut Shift+Ctrl+Q.

Usage

1
2
3

Arguments

dialogue

Logical. Whether trigger a dialogue when input label.

Details

Windows user can trigger a dialogue when input label. Use purl_dialogue(TRUE) or set options(purl_dialogue = TRUE) to turn it on.

Author(s)

Yangzhuoran Yang

See Also

knitr::read_chunk, insert_rmarkdown_chunk_editlabel


FinYang/lazytex documentation built on Nov. 5, 2019, 5:33 p.m.