powered by
If a file does not exist, FALSE is returned.
FALSE
isDirectory(...)
[logical].
logical
[character(1)] File names, all strings.
character(1)
print(isDirectory(tempdir())) print(isDirectory(tempfile()))
Run the code above in your browser using DataLab