Description Usage Arguments Details Value Note Author(s) Examples
Export a data.frame in CSV, XLSX or RDS format and create a html link on the output.
1 2 3 |
x |
- a data.frame |
filename |
- a string, the file name without extension |
Title |
- a string, the text of the link |
format |
- a string, the file format ["csv","xlsx","rds"] |
rownames |
- boolean, TRUE if row.names are exported. Default FALSE |
Files are exported in the subdirectory "exports". If this directory does not exists, it will be created.
Return nothing. GDS the Global DataSet is modified
The chunk where the function is called in, must have option "echo = asis"
jp.decorps@epiconcept.fr
1 2 | data(iris)
server.export(iris, filename = "iris",title = "CSV: Data.frame iris")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.