I am trying to save my figure with 900 dpi but at the same time I dont want it to exceed 40 megapixels.
ggsave(p, filename = 'fig.tiff',dpi = 900,compression = "lzw")
thanks
i tried limitsize
option but it is in inches not in pixels
I am trying to save my figure with 900 dpi but at the same time I dont want it to exceed 40 megapixels.
ggsave(p, filename = 'fig.tiff',dpi = 900,compression = "lzw")
thanks
i tried limitsize
option but it is in inches not in pixels