.FileMove | R Documentation |
Move files and directories with fs; includes a handler for when
path
is a directory on a different filesystem than new_path
by explicitly copying and deleting path
.FileMove(path, new_path, overwrite = FALSE, n = 1L)
path |
A character vector of one or more paths. |
new_path |
New file path. If Should either be the same length as |
n |
The number of callers to go back. |
The new path (invisibly).
This function requires the fs package to be installed
fs::file_move()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.