title: R dataframe naming the headers
body: <p>I have a data.frame <code>df</code> as follows with the column names A, B, C.</p>
  
  <pre><code> A B C 
   1 2 3
   4 5 6
   7 8 9
  </code></pre>
  
  <p>so <code>df$A</code> in the above example 1,4,7.</p>
  
  <p>Now I want to column this data.frame 3 times changing the names of the columns to 
  <code>A B C A.1 B.1 C.1 A.2 B.2 C.2</code> so my new data.frame <code>newDf</code> will have 9 columns.</p>
  
  <p>Essentially what I want is to know how to change the name of the columns of a given data.frame. Once I can do that I can column bind and things will work. Please give an example with your answer.</p>