isDirectory {R.utils}R Documentation

Checks if the file specification is a directory

Description

Checks if the file specification is a directory.

Usage

## Default S3 method:
isDirectory(pathname, ...)

Arguments

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

Value

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

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

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


[Package R.utils version 1.1.1 Index]