Using the code below, I am trying to save a ggplot to as a png file. Although dpi is pretty high, the saved png file is not even readable. As shown in the image below, the export option in the files pane provides a better resolution. Is there any way to fix this?
ggsave(file="circulatory_1999_2018_55+_new.png", path = "~/Desktop/cause of death/Data Slice", width = 1200, height = 500, units = "mm", dpi=3000)