title: Select Items from a List while changing their Col Name in R
body: <p>So I am using this code for selecting items from a list:</p>
  
  <pre><code>itemSelect&lt;- list.select(List,sha,commit$author$date,commit$author$name,
  commit$author$email,
  commit$message,committer$type)
  </code></pre>
  
  <p>And then I convert to data table:</p>
  
  <pre><code>df&lt;-list.rbind(itemSelect)
  dt&lt;-as.data.table(df)
  </code></pre>
  
  <p>But when I see my data table the col names of the items I selecter are changed except the sha.</p>
  
  <p>I think that's because the item "sha" was the first one on the list. But the other ones where variable of variables with "$". And the col name became:</p>
  
  <pre><code> sha        V2           V3        V4        V5         V6
  d34sx   20-10-2015   23-10-2015    Nic    Comments     user
  dftwr   21-11-2015   03-09-2015    Pic    Comments2    user
  </code></pre>
  
  <p>So I want to ask if there is a way while selecting Items from a list also changing the col name? Or should I find a way to mass change the col name after I convert it to data table?</p>
  
  <p>Thanx!</p>