Description Usage Arguments Value Note Author(s)
Objects of this class hold the information necessary to create output files containing data and results from the analysis as well as the links necessary to access them from the HTML output.
1 |
writer |
A function to write the downloadable content to a file. Its first argument should be the R object to be written and the second argument the file name. |
file_name |
Name of output file, not including any path information. |
label |
A short, descriptive label to identify the download. |
description |
A longer description of the downloadable content. |
... |
Additional arguments are passed to |
An object of class Download
This class stores all the information necessary to create downloadable
files, but creating an instance of this class will not create the file.
Use add_download
to add Instances of this class to the global list
of downloads. All downloads registered in this way will be created automatically
after the rest of the document has been processed and a section with download
links is added to the appendix. Download links can be created manually through
calls to create_download
.
Peter Humburg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.