fixtitle | R Documentation |
In a large project project particularly with multiple authors,
the simple task of editing a chapter title can be difficult since
a few steps are required: find the right Rmd, open the file,
change the title, save it, close it. The fixtitle()
function
simplifies the process by doing all this in one line of code. It can
be used for searching only, or searching and replacing.
fixtitle(find, replace = NULL, write = FALSE)
find |
full or partial title string to search for |
replace |
replacement string (optional) |
write |
logical indicating whether to change the title, defaults to FALSE |
## Not run:
fixtitle(find = "Instructions") # search only
fixtitle(find = "Instructions", # search and replace test
replace = "Submission instructions")
fixtitle(find = "Instructions", # search and replace actual
replace = "Submission instructions",
write = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.