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

前端 未结 6 1295
没有蜡笔的小新
没有蜡笔的小新 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:33

    Since I tried to produce png at high res in R and it didn't seem to work on my PC (if I set the resolution higher than, say, 300 dpi, R would produce an error like "cannot start png device"), the way I found was to save the figure using postscript() and then use GSView to convert the ps file into png with 600 dpi resolution. MS Word consumes the png's happily and the quality of print seems to be perfect.

提交回复
热议问题