Removes a directory
Removes a directory, and if requested, also its contents.
## Default S3 method: removeDirectory(path, recursive=FALSE, mustExist=TRUE, ...)
This function can also be used to remove symbolic links to directories
without removing the target.
Note that neither file.remove
() nor unlink
()
is capable of remove symbolic directory links on Windows.
Henrik Bengtsson
Internally unlink
() is used.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.