title: The function names in the for loop doesn't work R
body: <p>I have a group of data.frame with the same dimensions of column, but different numbers of row.</p>
  
  <pre><code>DATA.FRAME.A
  Column_A     Column_B     Column_C     Column_D      Column_E
  2001-02-20      10           11           5              8
  
  DATA.FRAME_B
  Column_F     Column_G      Column_W    Column_T      Column_Q
  2008-08-7        50           21          10             50
  
  DATA.FRAME_C
  Column_H     Column_J      Column_K    Column_S      Column_P
  2001-02-02      13           15           61             7
  </code></pre>
  
  <p>My purpose is to make the first row the same for all data.frame </p>
  
  <p>I wrote this cycle for to make my code simple.</p>
  
  <pre><code>t &lt;- list(DATA.FRAME_A, DATA.FRAME_B, DATA.FRAME_C)
  for (i in t ) {
    names[i] &lt;- c("Data", "Open", "Max", "Minimun", "Close")
     }
  </code></pre>
  
  <p>R doesn't give me any type of error.</p>
  
  <p>Where I was wrong?</p>
  
  <p>I'd like to have these results</p>
  
  <pre><code>DATA.FRAME.A
     Data        Open          Max       Minimun      Close
  2001-02-20      10           11           5              8
  
  DATA.FRAME_B
   Data           Open          Max       Minimun      Close
  2008-08-7        50           21          10             50
  
  DATA.FRAME_C
   Data          Open          Max       Minimun      Close
  2001-02-02      13           15           61             7
  </code></pre>
  
  <p>Thanks in advance. </p>
  
  <p>Francesco</p>