unlink deletes the file(s) or directories specified by x.
unlink(x, recursive = FALSE, force = FALSE)
| Parameter | Description |
|---|---|
x |
a character vector with the names of the file(s) or directories to be deleted. Wildcards (normally * and ?) are allowed. |
recursive |
logical. Should directories be deleted recursively? |
force |
logical. Should permissions be changed (if possible) to allow the file or directory to be removed? |