title: in R how to write a matrix to csv, keeping row names for real row but not the column name row
body: <p>for example my matrix looks like this:</p>
  <blockquote>
  <pre><code>     in out
  </code></pre>
  <p>08:00     NA  NA</p>
  <p>14:30     NA  NA</p>
  <p>15:00     NA  NA</p>
  </blockquote>
  <p>if I do this:</p>
  <pre><code>write.csv(updates_to_save, file=&quot;foo.csv&quot;, quote=FALSE)
  </code></pre>
  <p>the csv file will look like:</p>
  <blockquote>
  <p>,in,out</p>
  <p>08:00,NA,NA</p>
  <p>14:30,NA,NA</p>
  <p>15:00,NA,NA</p>
  </blockquote>
  <p>How do I get rid of the &quot;,&quot; in the first line? or alternatively how can I add a value there to indicate that's the column for row names?</p>