title: apply rbind for all column of a data frame in r
body: <p>I have a data frame like this :</p>
  
  <pre><code>a &lt;- 1:5
  b &lt;- c("a","b","c","d","e")
  c &lt;- c(15,49,41,29,7)
  
  df1 &lt;- data.frame(a,b,c)
  </code></pre>
  
  <p>I want to make a single column by doing r bind.
  Currently I am doing like this :</p>
  
  <pre><code>x &lt;- as.data.frame(df1$a)
  y &lt;- as.data.frame(df1$b)
  z &lt;- as.data.frame(df1$c)
  
  colnames(x)[1] &lt;- "x"
  colnames(y)[1] &lt;- "x"
  colnames(z)[1] &lt;- "x"
  
  e &lt;- rbind(x,y,z)
  </code></pre>
  
  <p>But problem is if number of column is huge like 50-60 it is very difficult to do the same.
  Need help...</p>