Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- library(officer)
- library(flextable)
- myft <- regulartable(dataset, col_keys = names(dataset))
- my_doc <- body_add_par(my_doc, "", style = "Normal")
- my_doc <- body_add_flextable(my_doc, value = myft)
- print(my_doc, target = "path/ABC.docx")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement