grep_include | R Documentation |
In a vector containing a Rmd source file, all files which are included are searched
and returned in a result vector. What is recognised as include is defined in the
search pattern given by the argument ps_grep_pattern
.
grep_include(
pvec_src,
ps_grep_pattern,
pvec_repl_pattern = c("\\(path = ", "\"", "\\)")
)
pvec_src |
vector containing Rmd source |
ps_grep_pattern |
pattern that matches the lines with include statments |
pvec_repl_pattern |
vector of characters that are removed from include statements |
vec_result vector with files that are included
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.