Description Usage Arguments Value See Also
Creates a file
Rename file
copy file
Logical test of whether file exists
Check whether a symlink exists
1 2 3 4 5 6 7 8 9 10 11 | file_create(path, recursive = FALSE)
file_remove(path)
file_rename(from, to)
file_copy(from, to, overwrite = FALSE, recursive = FALSE)
file_exists(path)
symlink_exists(path)
|
path |
Path |
recursive |
Logical indicating whether to recursively create new file (directories created as necessary). This defaults to FALSE. |
from |
File to rename/copy |
to |
New/copy name |
overwrite |
Logical indicating whether to overwrite |
Silently returns logical indicating success.
Logical value with TRUE indicating it exists
Other exists: dir_create
Other exists: dir_create
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.