pdf 函数中,有一个参数onefile , 默认值为TRUE, 表示每张图片占用pdf 中的一页,设置onefile = FALSE 可以消除画图的代码产生的空白页 转载于:https://www.cnblogs.com/yahengwang/p/10953622.html