write_docx(file, code, pagesize = c(width = 8.5, height = 11), margins = c(left = 1, right = 1, top = 1, bottom = 1), ...)
.docx
width
height
left
right
top
bottom
fun
dml_docx
write_docx(file = "my_plot_1.docx", code = plot(rnorm(10)) ) write_docx(file = "my_plot_2.docx", code = barplot(1:7, col = 1:7))
Run the code above in your browser using DataLab