Description Usage Arguments Value Author(s) Examples
write data.frame to docx table
1 | write.docx(x, file, layout = "portrait", overwrite = TRUE, colour = NULL)
|
x |
a data.frame |
file |
file to save to |
layout |
"portrait" or "landscape" page orientation |
overwrite |
logical. Overwrite existing file. |
colour |
A valid hex colour code starting with '#' eg. '#4f81BD' |
Workbook object
Alexander Walker
1 2 3 | write.docx(x = iris, "testing.docx", layout = "portrait", colour = NULL)
write.docx(x = iris, "testing1.docx", layout = "portrait", colour = "#4f81BD")
write.docx(x = iris, "testing2.docx", layout = "landscape", colour = "#C0504D")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.