removeDirectory
From R.utils v1.32.4
by Henrik Bengtsson
Removes a directory
Removes a directory, and if requested, also its contents.
- Keywords
- programming, IO
Usage
## S3 method for class 'default':
removeDirectory(path, recursive=FALSE, mustExist=TRUE, ...)
Arguments
Value
Symbolic links
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.
See Also
Internally unlink
() is used.
Community examples
Looks like there are no examples yet.