Exports to a variety of formats based on the file type argument
1 |
x |
object to be exported |
file |
character path to the file to be exported to |
... |
arguments to be passed to the export functions File type is based on the file suffix and can be one of "txt", "csv", "rda", "dta". dta files use foreign::write.dta. If a match is not found, the file is written to std.out |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.