I am using the officer and flextable packages to write reports in word.
When I use the body_add_flextable() function, the tables always start on a new page because the
"do not separate from the next paragraph" is activated in Word paragraph settings.
How can I deactivate this in the flextable settings.
doc <- read_docx("template.docx")
tab<-airquality
doc <- body_add_table(doc,tab)
tab<-flextable(tab)
doc <- body_add_flextable(doc,tab)
print(doc, target = "test_template.docx")
The body_add_table() function works without the break the body_add_flextable() not.
Thank you
Zies