Filesystem-based object store.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | filesystem(path = getwd(), create = FALSE)
is_filesystem(x)
is_filesystem_dir(path, empty_ok = FALSE)
## S3 method for class 'filesystem'
print(x, ...)
## S3 method for class 'filesystem'
os_remove(store)
## S3 method for class 'filesystem'
os_remove_objects(store, ids = os_list(store))
## S3 method for class 'filesystem'
os_write(store, object, tags = list(),
id = compute_id(object))
## S3 method for class 'filesystem'
os_update_tags(store, id, tags)
## S3 method for class 'filesystem'
os_read(store, id)
## S3 method for class 'filesystem'
os_read_object(store, id)
## S3 method for class 'filesystem'
os_read_tags(store, id)
## S3 method for class 'filesystem'
os_exists(store, id)
## S3 method for class 'filesystem'
os_list(store)
## S3 method for class 'filesystem'
os_find(store, tags)
|
path |
directory path; if does not exist and 'create' is 'TRUE', it will be created. |
create |
whether to create 'path' if does not exist. |
x |
object to be tested. |
empty_ok |
is an empty directory considered a valid filesystem object store. |
... |
Arguments passed on to
|
store |
object store. |
ids |
multiple object identifiers. |
object |
R object to be written into object store. |
tags |
a named 'list' of tags for an object. |
id |
object identifier; see [compute_id]. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.