title: How to split a vector into n vectors and print them in one table in R?
body: <p>I want to split a vector, for example:</p>
  <pre><code>x&lt;-c(1,2,3,4,5,6,7,8,9,10)
  
  let n=2
     m=c(4,6)
  y&lt;-split(x,rep(1:n,m))
  
  </code></pre>
  <p>I need to print y as a table like:</p>
  <pre><code>y1 y2
  1  5
  2  6
  3  7
  4  8
    9
    10
  </code></pre>
  <p>How to print y with different rows? Many thanks.</p>