Producing a vector graphics image (i.e. metafile) in R suitable for printing in Word 2007

前端 未结 6 1288
没有蜡笔的小新
没有蜡笔的小新 2020-11-30 23:04

First a caveat: I posted this question here on SuperUser, but it is clearly the wrong place to ask R questions. I recognize that it is not directly a programming question,

6条回答
  •  遥遥无期
    2020-11-30 23:32

    My preferred solution is to use the windows metafile device for plotting, e.g.:

    win.metafile("mygraph.wmf")
    print(gg1)
    dev.off()
    

    This produces a *.wmf file that can be copy-pasted into the word file.

提交回复
热议问题