How to increase resolution of ggplots when exporting using officer R
问题 I want to export charts to a PPT and am using the officer package to achieve the same. However, the default resolution of the charts is low and I would like to change that. I am currently using the following call ph_with_gg(p1,type = "chart",res = 1200) where p1 is a ggplot object. On running this, I get the following error: Error in png(filename = file, width = width, height = height, units = "in", : formal argument "res" matched by multiple actual arguments Would really appreciate the help