Description Usage Details See Also Examples
Get the reader or writer function for a path
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | cache_reader(x = NULL)
## S3 method for class ''NULL''
cache_reader(x)
## S3 method for class 'fs_ext'
cache_reader(x)
## S3 method for class 'fs_path'
cache_reader(x)
## S3 method for class 'cached_name'
cache_reader(x)
cache_writer()
|
cache_reader()
and cache_writer()
return the function for reading
and writing to/from the cache.
cache_backend()
1 2 3 4 5 6 7 | cache_reader()
cache_reader( fs_ext('rds') )
path( "cache/iris.rds") %>% cache_reader()
'iris' %>% cached_name() %>% cache_reader()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.