View source: R/remove_spaces.R
remove_spaces
removes paces from file names, which is required to
run MLWIC2 functions on these images. Note: use this function with caution as you are essentially
renaming files. In the future, it is good practice to
avoid putting spaces in any folder or file name.
1 |
path |
The path to the image files whose names need to be changed. The default is to use your current working directory. |
pattern |
A vector containing the file name suffixes for which you want to change the name. |
copy |
logical. If TRUE, the function will create new files with spaces absent from the name. If FALSE, the function will delete the orginial files and create new files without spaces in names. If FALSE, you are deleting your original files, but saving storage space on your drive. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.