title: 'Incomplete final line' warning when trying to read a .csv file into R
body: <p>I'm trying to read a .csv file into R and upon using this formula:</p>
  
  <pre><code>pheasant&lt;-read.table(file.choose(),header=TRUE,sep=",")
  </code></pre>
  
  <p>I get this warning message:</p>
  
  <pre><code>"incomplete final line found by readTableHeader on 'C:\Documents and Settings..."
  </code></pre>
  
  <p>There are a couple of things I thought may have caused this warning, but unfortunately I don't know enough about R to diagnose the problem myself so I thought I'd post here in the hope someone else can diagnose it for me! </p>
  
  <ul>
  <li>the .csv file was originally an Excel file, which I saved into .csv format</li>
  <li>the file comprises three columns of data</li>
  <li>each data column is of a differing length, i.e. there are a different number of values in each column</li>
  <li>I want to compare the means (using t-test or equivalent depending on normal / not normal distribution) of two of the columns at a time, so for example, t-test between column 1 values and column 2 values, then a t-test of column 1 and column 3 values, etc.</li>
  </ul>
  
  <p>Any help or suggestions would be seriously appreciated!  </p>