Description Usage Arguments Value Examples
Checks whether the variable is a path to an existing, writeable file or directory
1 | is_writeable(x)
|
x |
(any) The object to test |
TRUE if x is a path to an existing, writeable file or directory, FALSE otherwise
1 2 3 4 5 6 7 | tmpfile <- tempfile()
file.create(tmpfile)
is_writeable(tmpfile)
is_writeable("/does/not/exist.txt")
is_writeable(1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.