powered by
Checks if the file specification is a file.
# S3 method for default isFile(pathname, ...)
Returns TRUE if the file specification is a file, otherwise
TRUE
FALSE is returned.
FALSE
A character string of the pathname to be checked.
character
Not used.
This function follows symbolic links (also on Windows) and returns a value based on the link target (rather than the link itself).
Henrik Bengtsson
To check if it is a directory see isDirectory(). Internally file.info() is used. See also file_test.
isDirectory
file.info
file_test