saving plots to pdf fails

前端 未结 2 2141
星月不相逢
星月不相逢 2021-01-26 13:45

When I use pdf(\"somefile.pdf\") to save my plots to a pdf file, everything seems to work. No error messages or whatsoever. Still the result is screwed (file size i

2条回答
  •  误落风尘
    2021-01-26 14:02

    Did you remember to close the file via dev.off() before trying to view it?

    (See also: problem saving pdf file in R with ggplot2 )

提交回复
热议问题