powered by
rename.files(dir, pattern, replacement)
# For example, a file name may have hyphen "-", # and you can replace them with underline "_". rename.files("~/Desktop/mydata", "-", "_")
Run the code above in your browser using DataLab