View source: R/rename_unit_files.R
rename_unit_files | R Documentation |
Searches a directory recursively and replaces files by passing arguments to gsub()
rename_unit_files(
pattern,
replacement,
dir_path,
ignore.case = FALSE,
perl = TRUE,
inner = FALSE
)
pattern |
a regular expression to be passed to [ ]: R:%20 |
replacement |
the string passed to |
dir_path |
the folder or containing all the files you want to be changed. |
ignore.case |
if FALSE, the pattern matching is case sensitive and if TRUE, case is ignored during matching. default= FALSE |
perl |
logical. Should Perl-compatible regexps be used? default=TRUE |
inner |
logical. Is this being run recursively within a rename_unit_files call? If TRUE, suppresses output. default=FALSE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.