Description Usage Arguments See Also Examples
Requires an existing Excel file, preferably created using
xlsx_initialize_workbook
. The selected tab will be removed
(if it already exists) and a new tab will be written.
1 | xlsx_write_table(df, filename, sheet = NULL)
|
df |
data frame to write to the Excel worksheet |
filename |
path where the Excel workbook will be written |
sheet |
name to use for Excel worksheet. If NULL (default) the name of the df will be used. |
Other functions for writing to excel:
xlsx_initialize_workbook()
1 2 3 | xlsx_initialize_workbook("tmp.xlsx")
moria <- data.frame(a = 1:4, b = c("speak", "friend", "and", "enter"))
xlsx_write_table(moria, "tmp.xlsx")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.