| file_rename | R Documentation |
First try file.rename(). If it fails (e.g., renaming a file from one volume
to another on disk is likely to fail), try file.copy() instead, and clean
up the original files if the copy succeeds.
file_rename(from, to)
from, to |
Original and target paths, respectively. |
A logical vector (TRUE for success and FALSE for failure).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.