R 语言消除pdf图片的空白

pdf 函数中,有一个参数onefile ,  默认值为TRUE, 表示每张图片占用pdf 中的一页,设置onefile = FALSE 可以消除画图的代码产生的空白页

原文地址:https://www.cnblogs.com/yahengwang/p/10953622.html