title: Giving variable name to row.names in csv file
body: <p>I have  a dataframe which look like this</p>
  
  <pre><code>         z
            2
            3
            4
            5
            6
            7
        &gt; 
  </code></pre>
  
  <p>after storing this dataframe in csv format using write.csv(z,"a.csv")  i get the following 
  result in </p>
  
  <pre><code>            z
           1  2
           2  3   
           3  4
           4  5
           5  6
           6  7
  </code></pre>
  
  <p>is it possible to give variable name to the columns containing 1,2,3,4,5,6 to csv file using R</p>