| writeFuture | R Documentation |
future::futureThis will be used internally if options("reproducible.futurePlan" = TRUE).
This is still experimental.
writeFuture(
written,
outputToSave,
cachePath,
userTags,
drv = getDrv(getOption("reproducible.drv", NULL)),
conn = getOption("reproducible.conn", NULL),
cacheId,
linkToCacheId = NULL
)
written |
Integer. If zero or positive then it needs to be written still. Should be 0 to start. |
outputToSave |
The R object to save to repository |
cachePath |
The file path of the repository |
userTags |
Character string of tags to attach to this |
drv |
if using a database backend, drv must be an object that inherits from DBIDriver e.g., from package RSQLite, e.g., SQLite |
conn |
an optional DBIConnection object, as returned by dbConnect(). |
cacheId |
Character string. If passed, this will override the calculated hash
of the inputs, and return the result from this cacheId in the |
linkToCacheId |
Optional. If a |
Run for its side effect.
This will add the objectToSave to the cache located at cachePath,
using cacheId as its id, while
updating the database entry. It will do this using the future package, so it is
written in a future.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.