tomwenseleers / export

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

graph2ppt crashes with powerpoint open #46

Closed ThomasR099 closed 1 year ago

ThomasR099 commented 2 years ago

Not entirely unexpected; having the PPT open and appending a slide to it crashes R. Would there be a way to have the package check for open powerpoint windows before writing to the file?

cvanderaa commented 2 years ago

Sorry for the late reply... Unfortunately, I don't have PPT and cannot reproduce the issue with LibreOffice Impress as it seems to cache the currently open session away from the actual pptx file. If meanwhile you could fix the issue, do not hesitate to make a pull request :wink:

tomwenseleers commented 1 year ago

Yes, the only way to avoid that is to make sure that the file you try to work with isn't simultaneously open in PPT. No obvious way in which I can fix that unfortunately, so I'll close this issue for now...