Wrapper that imports and exports result of a function to a file on disk.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
... |
Extra arguments to pass to 'f' |
do |
Whether to actually do anything. |
f |
function to execute |
file |
File name (without extension) to generate 'path' if 'path' is not explicitly provided. |
ext |
File extension to use to generate 'path' if 'path' is not explicitly provided. |
dir |
Directory to use to generate 'path' if 'path' is not explicitly provided. |
path |
Path to export to. |
f_import |
Function to import with if file exists and 'overwrite = TRUE'. |
f_export |
Function to export with if 'export = TRUE' . |
append |
Whether to append. Supersedes 'export' and 'overwrite'. |
export |
Whether to export. Supersedes 'overwrite. |
overwrite |
Whether to overwrite. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.