| ext_cache | R Documentation |
Builds an ext_cache object: a list of closures bound to a cache directory,
implementing CRUD over cached .duckdb_extension files. Files are laid out
under <cache_path>/<version>/<platform>/<name>.duckdb_extension.
ext_cache(cache_path = ext_cache_path())
cache_path |
Character scalar. Cache root directory. Defaults to
|
An ext_cache object (a list of closures) with elements:
.path: the cache root.
get(name, version, platform): path to the cached extension, or NULL.
add(name, version, platform, src): copies src into the cache.
list(): data frame of cached extensions.
del(name, version, platform): removes a cached extension. When version
and platform are omitted, removes all cached entries for name.
cache <- ext_cache(file.path(tempdir(), "quak-cache"))
cache$.path
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.