Description Usage Arguments Value See Also Examples
Delete the value or directory corresponding to the specified key
from the object store service
connection con
.
1 | delete(con, key)
|
con |
An object store connection from |
key |
A key name, optionally including a |
NULL
is invisibly returned, or an error may be thrown.
register_service
cache
uncache
1 2 3 4 5 6 7 8 9 10 | # Start an example local mongoose backend server
mongoose_start()
con <- register_service()
# Cache the 'iris' dataset in a directory named 'mydata':
cache(con, iris, "mydata/iris")
# Retrieve it from the cache into a new variable called 'x'
x <- uncache(con, "mydata/iris")
# Delete the entire 'mydata' directory
delete(con, "mydata")
mongoose_stop()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.