Description Usage Arguments Details Value Author(s)
Register a new download
1 2 | add_download(x, label, writer = write.csv, description = "", ext = "csv",
create = TRUE, ...)
|
x |
An object that should be made available for download. If this is a character vector of length one it is interpreted as the name of the object. |
label |
A short, descriptive label |
writer |
A function used to create the downloadable file from |
description |
A longer description. |
ext |
Extension to use for the file. |
create |
Logical indicating wether the downloadable file should be created immediately. |
... |
Additional arguments are passed to |
If create
is FALSE
the downloadable file can be created
later by a call to create_download
. This allows objects to be registered
for download when they are created while ensuring that they are not written to
a file until any possible changes to their data have occured.
Called for its side effect.
Peter Humburg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.