isFile | R Documentation |
Checks if the file specification is a file.
## Default S3 method:
isFile(pathname, ...)
pathname |
A |
... |
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).
Henrik Bengtsson
To check if it is a directory see isDirectory
().
Internally file.info
() is used.
See also file_test
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.