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.

insert_purl_section()

purl_dialogue(dialogue = TRUE)

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.

See also

knitr::read_chunk, insert_rmarkdown_chunk_editlabel