Dear Rik,
A similar approach for PowerPoint was discussed earlier on this list.
Amending that solution for Word gives me:
# create a graph and save it somewhere
library(lattice)
Depth <- equal.count(quakes$depth, number=8, overlap=.1)
P <- xyplot(lat ~ long | Depth, data = quakes)
myfile="c:\\Tem
Dear Wayne,
Wouldn't it be sufficient to know how to insert a picture file into PowerPoint
via rcom?
The following VBA code does that:
' VBA PowerPoint
Sub InsertGraphicOnSlide()
Dim ppApp As PowerPoint.Application
Dim ppPres As PowerPoint.Presentation
Dim ppShape As PowerPoint.Shape