
Last chance! 50% off unlimited learning
Sale ends in
Checks if the file specification is a file.
# S3 method for default
isFile(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.
This function follows symbolic links (also on Windows) and returns a value based on the link target (rather than the link itself).
To check if it is a directory see isDirectory
().
Internally file.info
() is used.
See also file_test
.