I'm trying to export a ggplot to word as an windows metafile on windows platform. Some suggest cairo to remove aliasing, but I need to save the plot as windows metafile, which don't work with wmf.
ggsave(plot=plot,filename="plot.wmf",type="cairo")
gives
Error in grDevices::win.metafile(...) : unused argument (type = "cairo")
Do anyone have a solution?