- I could export the images as png, but they look pixelised on a big file.
- I would have liked to import SVG but it's not possible in microsoft powerpoint.
- win.metafile() is the solution
win.metafile("file name.emf",width=17, height=9) # width and height in inches,
# You can divide by 72 to have the size in pixel
ggplot() + geom_line(data=dtf, aes(...))