file_move | R Documentation |
Compared to file.rename file_move()
always fails if it is unable to move
a file, rather than signaling a Warning and returning an error code.
file_move(path, new_path)
path |
A character vector of one or more paths. |
new_path |
New file path. If Should either be the same length as |
The new path (invisibly).
file_create("foo")
file_move("foo", "bar")
file_exists(c("foo", "bar"))
file_delete("bar")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.