file_increment {r4ss} | R Documentation |
Rename files found with pattern
by adding i
to their
name before the extension.
file_increment(
i,
verbose = FALSE,
pattern = "^[CcPRw][a-zA-Z]+\\.sso|summary\\.sso|\\.par$"
)
i |
An integer value to append to the file name before the
|
verbose |
A logical value specifying if output should be printed to the screen. |
pattern |
A character value specifying the file names to search
for in |
The .par
file, which is the only file extension searched for
with the default entry that does not end in .sso
, is
modified differently._i.sso
is added to the file name.
Invisibly returns a vector of logical values specifying whether or not the file was successfully renamed.
Kelli F. Johnson