isDirectory

0th

Percentile

Checks if the file specification is a directory

Checks if the file specification is a directory.

Usage
## S3 method for class 'default}(pathname, ...)':
isDirectoryundefined

 pathname{A character string of the pathname to be checked.}
   ...{Not used.}

 Returns TRUE if the file specification is a directory, otherwise
  FALSE is returned.



 [object Object]

 To check if it is a file see *isFile().
   Internally file.info() is used.



IO
programming
Aliases
  • isDirectory.default
  • isDirectory
Documentation reproduced from package R.utils, version 0.5.5, License: LGPL version 2.1 or newer (the releases)

Community examples

Looks like there are no examples yet.