【发布时间】:2018-08-20 19:28:29
【问题描述】:
我想将图表导出为 PPT,并使用officer 包来实现。但是,图表的默认分辨率很低,我想改变它。我目前正在使用以下调用
ph_with_gg(p1,type = "chart",res = 1200)
其中 p1 是一个 ggplot 对象。运行此程序时,我收到以下错误:
Error in png(filename = file, width = width, height = height, units =
"in", :
formal argument "res" matched by multiple actual arguments
非常感谢有关此方面的帮助
【问题讨论】: