title: How to export ggplot in R with 3543 pixels in JPEG format?
body: <p>How to export ggplot with 3543 pixels (meaning: DPI resolution 1000 and 90 mm wide) in JPEG file?</p>
  <p>I used this code but it does not function in my case:</p>
  <p>jpeg(file=&quot;Traject_1.jpg&quot;, res=3543, width=9,  pointsize=7,
  type=&quot;windows&quot;, antialias=&quot;cleartype&quot;)</p>