Description Usage Arguments Value Examples
Read an Rmd file and write a version with code chunks selectively replaced
1 |
infile |
A file path or file handle of an .Rmd file from which code chunks will be removed |
outfile |
A file path or file handle to which to write the .Rmd file with replacements. |
replace_flags |
A character vector of code chunk options that if set to TRUE will have their code replaced. |
replacement |
A character vector that code chunks will be replaced with, one element per line. |
comment |
TRUE or FALSE; whether to include comments. Default is TRUE |
A character vector of the output lines, invisibly.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.