Learn R Programming

BBmisc (version 1.13)

isDirectory: Is one / are several files a directory?

Description

If a file does not exist, FALSE is returned.

Usage

isDirectory(...)

Value

[logical].

Arguments

...

[character(1)]
File names, all strings.

Examples

Run this code
print(isDirectory(tempdir()))
print(isDirectory(tempfile()))

Run the code above in your browser using DataLab