I have an R applicaion that builds a large number of client editable charts by Office tool (pptx). I try to embed a ggplot graph into an existing slied in vector format. I use the ph_with_vg_at function to export the graph to pptx. The point is that exporting the graph to pptx deletes all that elements that already exist on the slide. How then can I export the graph to a slide without deleting the information on the slide?
Thank's Joni
OK
It turns out to be simple if you understand the syntax... Let's take a simple ggplot for example:
option 1: Opening an existing presentation and insert a new object (while deleting the objects in the presentation):
option 2: Opening an existing presentation and embed an object in existing slide without deleting the existing objects on the slide:
Joni