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