title: Appending files in a folder using R
body: <p>i am appending 100 files in a folder with a delimiter "|". Below is the code used. I am getting an error whichi am not able to debug,</p>
  
  <pre><code>file_list &lt;- list.files()
  
  dataset &lt;- ldply(file_list, read.table, header=TRUE,  sep="|")
  </code></pre>
  
  <p>ERROR - Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,  : 
    line 284 did not have 12 elements</p>
  
  <p>Please help me on this who have experience around this.</p>