title: how to bind the same vector multiple times?
body: <p>How can I bind the same vector <code>o = c(1,2,3,4)</code> multiple times to get a matrix like:</p>
  
  <pre><code>o = array(c(1,2,3,4,1,2,3,4,1,2,3,4), dim(c(4,3))
       [,1] [,2] [,3]
  [1,]    1    1    1
  [2,]    2    2    2
  [3,]    3    3    3
  [4,]    4    4    4
  </code></pre>
  
  <p>In a nicer way than: <code>o = cbind(o,o,o)</code> and maybe more generalized (<code>duplicate</code>)? I need this to specify colors for elements in <code>textplot</code>.</p>