powered by
Convert spaces in filenames.
convert.spaces(file, sep = "_")
TRUE for success, FALSE for failure, invisibly.
TRUE
FALSE
filename, e.g. "file name.csv", "*.csv", or "dir/*".
"file name.csv"
"*.csv"
"dir/*"
character to use instead of spaces.
file.rename is the base function to rename files.
file.rename
icesTAF-package gives an overview of the package.
icesTAF-package
if (FALSE) { write(pi, "A B.txt") convert.spaces("A B.txt") ## Many files convert.spaces("bootstrap/initial/data/*") }
Run the code above in your browser using DataLab