tomwenseleers / export

R package for streamlined export of graphs and data tables.
192 stars 35 forks source link

graph2ppt error in an rshiny #38

Closed lixiang117423 closed 3 years ago

lixiang117423 commented 3 years ago

Hi Sir, I am developing a Rshiny App with your package to export figures in .pptx format. But the figure generated by graph2ppt function has some error, the gap of world and number of the axis was filled by black color. 01 The function works well on Windows or Ubuntu, but it can not work correctly in an R shiny. I do not know how to get the solution to the error. Any reply will be appreciated! Thanks!

cvanderaa commented 3 years ago

Hello @lixiang117423, Thank you for using our package!

I'm not sure to understand what you are doing. Is this screenshot taken when you open the PPTX file that was created by your shiny app, or did you open and display the content of the PPTX from within the app?

It's the first time I see this issue, so I'm a bit clueless... Would have some example code for me to reproduce the issue? When exporting to a PPTX, we highly rely on the officer package. Depending on what you are doing, you might want to open an issue there.