Gt: pptx and word docx output to office verse

Created on 11 Jan 2019  Â·  3Comments  Â·  Source: rstudio/gt


one of the especially nice features of the flextable package is the direct export to pptx and docx.
are there nice features of flextable that you can borrow?

ft <- regulartable(head(mtcars))
ft <- theme_booktabs(ft)
ft <- autofit(ft)

ppt <- read_pptx()
ppt <- add_slide(ppt, layout = "Title and Content", master = "Office Theme")
ppt <- ph_with_flextable(ppt, value = ft, type = "body") 

print(ppt, target = "assets/pptx/example.pptx")
[3] Advanced [3] High [2] Medium ★ Enhancement

Most helpful comment

Maybe. These are entirely different output formats but understandably pretty valuable ones. It would take work to port over the different table features to these output types. This is definitely not happening in the short-term unfortunately.

All 3 comments

Maybe. These are entirely different output formats but understandably pretty valuable ones. It would take work to port over the different table features to these output types. This is definitely not happening in the short-term unfortunately.

Do you think that David Gohel could help? He is clearly invested in the office verse for his work.

Just tagging @davidgohel in the event he might have thoughts on hooks that gt might be able to incorporate.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DickStartz picture DickStartz  Â·  4Comments

mine-cetinkaya-rundel picture mine-cetinkaya-rundel  Â·  4Comments

higgi13425 picture higgi13425  Â·  4Comments

scotbader8858 picture scotbader8858  Â·  4Comments

rich-iannone picture rich-iannone  Â·  6Comments