isDirectory
From R.utils v1.32.4
by Henrik Bengtsson
Checks if the file specification is a directory
Checks if the file specification is a directory.
- Keywords
- programming, IO
Usage
## S3 method for class 'default':
isDirectory(pathname, ...)
Arguments
- pathname
- A
character
string of the pathname to be checked. - ...
- Not used.
Value
Symbolic links
This function follows symbolic links (also on Windows) and returns a value based on the link target (rather than the link itself).
See Also
To check if it is a file see isFile
().
Internally file.info
() is used.
See also file_test
.
Community examples
Looks like there are no examples yet.