title: Plot a JPG image using base graphics in R
body: <p>I am searching for a simple way to plot a photographic JPEG image on a graphics device in R. </p>
  
  <p>For example the following using the <code>raster</code> package appears to ignore the colour attributes in the image.  I want to reproduce the photograph in its original colours:</p>
  
  <pre><code>library(raster)
  library(rgdal)
  
  myJPG &lt;- raster("colourfulPic.jpg")
  plot(myJPG)  ## Recolours JPEG;
  </code></pre>
  
  <p>I have discovered that the package <code>rimage</code> has recently been archived and appears to no longer be recommended for use (see <a href="http://r.789695.n4.nabble.com/Asking-About-packages-quot-rimage-quot-td4395719.html" rel="noreferrer">here</a>), if it, indeed, ever did what I need.</p>
  
  <p>Similarly the <code>EBImage</code> for BioConductor, which may also possibly work, is not built for 64 bit Windows, and unfortunately I need this architecture.</p>
  
  <p>Please tell me I missing something very obvious in base graphics?</p>
  
  <hr>