file.rename(): Renaming Single and Multiple Files in R
To rename a file in R, you can use the file.rename() function. It renames a single file or multiple files simultaneously from an old name to a new one. It returns a logical value. The value is TRUE if the file was successfully renamed, and FALSE if it was not. Syntax file.rename(from, to) Parameters Argument Description … Read more