I want to export a ggplot as JPEG with 300dpi for print but whatever I do I get a file with 72dpi (on macOS 10.15.6, RStudio 1.3.1073, R version 4.0.2).
I tried