title: Put the first row as the column names of my dataframe with dplyr in R
body: <p>This is my dataframe:</p>
  
  <pre><code>x&lt;-data.frame(A = c(letters[1:10]), M1 = c(11:20), M2 = c(31:40), M3 = c(41:50))
  
  colnames(x)&lt;-NULL
  </code></pre>
  
  <p>I want to tranpose (<code>t(x)</code>) and consider the first column of x as the colnames of the new dataframe <code>t(x)</code>.</p>
  
  <p>Also I need them (the colnames of <code>t(x)</code>) to be identified as words/letters (as character right?)</p>
  
  <p>Is it possible to do this with dplyr package?</p>
  
  <p>Any help?</p>