title: Read.table error in R
body: <p>I'm using R to read a text file and then subsequently manipulate it. 
  The input file has 22 columns. This is what the first column looks like :</p>
  
  <pre><code>NAME    LENGTH  A   C   D   E   F   G   H   I   K   L   M   N   P   Q   R   S   T   V   W   Y
  </code></pre>
  
  <p>I am currently using:</p>
  
  <pre><code>read.table("filename", stringsAsFactors=FALSE) 
  </code></pre>
  
  <p>to input the file. When I run the same, I get this warning:</p>
  
  <pre><code>Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,  : 
    line 2 did not have 23 elements
  </code></pre>
  
  <p>Not sure where I am going wrong. I'm new to R and I would really appreciate your help. I've tried to make sure this isn't a repost, but if it is, please do link me to the original. </p>