This function takes a series of regular expression in from
and changes
them to the values in to
for all .R
and .Rmd
files
in the directory dir
.
1 | replace_text(from, to, dir = "./")
|
from |
one or more regexes to substitute |
to |
one or values that will substitute for regexes in |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.