R.utils (version 0.9.6)

isFile: Checks if the file specification is a file

Description

Checks if the file specification is a file.

Usage

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

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

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



 [object Object]

 To check if it is a directory see isDirectory().
   Internally file.info() is used.



IO
programming

Arguments