check-vector-isTempFile | R Documentation |
Does the input contain a temporary file (that exists on disk)?
isTempFile(x)
isATempFile(x)
allAreTempFiles(x)
x |
Object. |
TRUE
on success;
FALSE
on failure, with cause set.
isTempFile()
: Vectorized.
isATempFile()
: Scalar.
allAreTempFiles()
: Scalar.
Updated 2023-07-13.
tempfile()
.
## The temporary file must exist on disk.
## TRUE ====
x <- tempfile()
file.create(x)
file.exists(x)
isATempFile(x)
unlink(x)
## FALSE ====
x <- tempfile()
file.exists(x)
isATempFile(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.