scrape_opts | R Documentation |
Scrape options from a code block
scrape_opts(
x,
envir = list(),
def = list(),
all = TRUE,
marker = "=",
allow_multiple = FALSE,
narrow = TRUE
)
x |
data |
envir |
environment from |
def |
default values |
all |
return all options, even those that are not in |
marker |
assignment operator; used to locate lines with options |
allow_multiple |
if |
narrow |
logical; if |
list with elements x
(the data without options) and named
options as specified in the block.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.