title: R not reading header line from .txt file
body: <p>I am just beginning to learn R and I can't figure out why the header line isn't being read in my data. Below is my very simple script with the error at the end saying one of my headers does not exist.</p>
  
  <pre><code>dat = read.table("D:/Wild_South/Linville_Gorge/HWA/Data/R_HWA.txt", header = T)
  
  dat
  
      Treatment HWA Elevation
  
  1           0 0.0      3072
  
  2           0 0.0      3357
  
  .
  .
  .
  .
  
  176         1 3.0      3898
  
  177         1 3.0      3771
  
  results = lm(HWA ~ Elevation + Treatment)
  </code></pre>
  
  <blockquote>
    <p>Error in eval(expr, envir, enclos) : object 'HWA' not found</p>
  </blockquote>
  
  <p>Thoughts?</p>