title: Combine a folder of text files into a CSV with each content in a cell
body: <p>I have a folder containing several thousand .txt files. I'd like to combine them in a big .csv according to the following model:</p>
  
  <p><a href="https://i.stack.imgur.com/GW4sO.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GW4sO.jpg" alt="enter image description here"></a></p>
  
  <p>I found a R script supposed to do the job (<a href="https://gist.github.com/benmarwick/9265414" rel="nofollow noreferrer">https://gist.github.com/benmarwick/9265414</a>), but it displays this error.</p>
  
  <pre><code>Error in read.table(file = file, header = header, sep = sep, quote = quote,  : duplicate 'row.names' are not allowed 
  </code></pre>
  
  <p>I don't understand what's my mistake.</p>
  
  <p>No matter, I'm pretty sure there's a way to do that without R. If you know a very elegant and simple one, it would be appreciated (and useful for a lot of guys like me)</p>
  
  <p>PRECISION : the text files are in  french, so not ASCII. Here is a sample : <a href="https://www.dropbox.com/s/rj4df94hqisod5z/Texts.zip?dl=0" rel="nofollow noreferrer">https://www.dropbox.com/s/rj4df94hqisod5z/Texts.zip?dl=0</a></p>