title: From csv to txt
body: <p>How can i convert a csv file to a plain text file?</p>
  
  <p>My CSV file consists of 3 columns and i only want to get the values of the column "Text" in the text file. I tried to achieve this with the following:</p>
  
  <pre><code>name &lt;- read.csv('c:/Users/bi2/Documents/TextminingRfiles/ScoreOutput/RangersScores.csv', header=T, sep=",")
  attach(name)
  posText &lt;- name[score &gt; 0,]&gt; name &lt;- read.csv('c:/Users/bi2/Documents/TextminingRfiles/ScoreOutput/RangersScores.csv', header=T, sep=",")
  attach(name)
  posText &lt;- name[score &gt; 0,]
  write(posText$text, file = "C:/Users/bi2/Documents/TextminingRfiles/ScoreOutput/namePositive.txt", sep="")
  </code></pre>
  
  <p>This code only copies the indexes to the text file, but not the text values of the text column. How can i fix this?</p>
  
  <p>Tnx for your help.</p>