View source: R/replacePattern.R
replacePattern | R Documentation |
This function searches documents for matches to the argument pattern and replaces in with a new pattern
replacePattern( dir, file.types = c("r", "R", "Rmd"), file.pattern = NULL, pattern, replacement )
dir |
= directory |
file.types |
= File types that should be assessed in dir |
file.pattern |
= Search pattern to identify relevant files |
pattern |
= Pattern to be replaced in all relevant file types |
replacement |
= Replacement to replace files that match pattern |
Version 1.2 2019-11-19
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.