title: How do I write a csv from R without quoted values?
body: <p>I'm looking to create a csv from R where none of the values have quotes around them. This seems to be the norm when you create a CSV in excel but not in R. </p>
  
  <p>Take the following example:</p>
  
  <pre><code>set.seed(100)
  df &lt;- data.frame(Apples=sample(1:10, 5), Oranges=sample(1:10, 5), Bananas=sample(1:10, 5), Dates=sample(1:10, 5))
  write.table(df, sep=",", row.names = FALSE)
  </code></pre>
  
  <p>If you open it in notepad you see the column headers have quotes around them. I need it to be without quotes if the csv is to be successfully imported into another program.</p>
  
  <p>I noticed that re-saving the csv in Excel causes the quotes to disappear but I need to avoid having to make this step. </p>
  
  <p>I tried things like <code>col.names = noquote(colnames(LineupCSV))</code> as an argument in <code>write.table</code> but without success.</p>
  
  <p>How can I remove the quotes around values when I write a csv in R? </p>