Description Usage Arguments Value Examples
File system predicates
1 2 3 4 5 6 7 8 9  | does_file_exist(x)
is_directory(x)
is_writeable(x)
is_readable(x)
has_extension(x, ext)
 | 
x | 
 file system object to test  | 
ext | 
 file extension as a string  | 
logical value
1 2 3 4  | does_file_exist(system.file("DESCRIPTION"))
is_directory(system.file())
has_extension(system.file("DESCRIPTION"), "")
has_extension(system.file("R/base.rdb"), "rdb")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.