View source: R/insert_purl_section.R
| insert_purl_section | R Documentation |
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)
dialogue |
Logical. Whether trigger a dialogue when input label. |
Windows user can trigger a dialogue when input label. Use purl_dialogue(TRUE) or set options(purl_dialogue = TRUE)
to turn it on.
Yangzhuoran Yang
knitr::read_chunk, insert_rmarkdown_chunk_editlabel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.