title: How to read in a raster and incorporate reference data in .aux.xml, .tfw etc?
body: <p>I've got a tif I am trying to read in with the assigned projection/datum/etc. These are tifs exported from ArcMap with .tif.xml and .tfw files containing projection info. Is there a way in R to bring in the assigned coord.ref with the .tif</p>
  
  <p>Read in TIF</p>
  
  <pre><code>r&lt;-'example.tif' 
  r &lt;- raster(r)
  r
  </code></pre>
  
  <p>Output</p>
  
  <pre><code>class       : RasterLayer 
  dimensions  : 199, 695, 138305  (nrow, ncol, ncell)
  resolution  : 50000, 50000  (x, y)
  extent      : -17367529, 17382471, -4692230, 5257770  (xmin, xmax,ymin, ymax)
  coord. ref. : NA 
  data source : in memory
  names       : layer 
  values      : 0.268264, 5.886104  (min, max)
  </code></pre>
  
  <p>I know the projection information is contained in the the associated files:  .aux.xml,.tfw, .tif.xml.</p>
  
  <p>I'm looking for the best means to efficiently assign it to the tif?</p>
  
  <p>The names of the tifs and associated metadata files are the convention set and produced by ArcMap export. The directory is shared as well. </p>