This will first try to file.rename
, and if that fails, then it will
file.copy
then file.remove
.
.file.move(from, to, overwrite = FALSE)
character vectors, containing file names or paths.
logical indicating whether to overwrite destination file if it exists.
Logical indicating whether operation succeeded.