Description Usage Arguments Value Note See Also Examples
Retrieve a value corresponding to the specified key
from the object store service
connection con
. If key
corresponds to a directory path, then a data frame listing
the directory contents is returned. Set key=""
to list the contents of the
service root directory path.
1 | uncache(con, key = "")
|
con |
An object store connection from |
key |
A key name, optionally including a |
Either a data frame directory listing when key
corresponds to a directory,
or an R value corresponding to key
.
Directory entries in the data frame directory listing output are identified by size=NA
.
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.