title: How to convert integer number into binary vector?
body: <p>How to convert an integer number into binary vector using R?</p>
  
  <p>For example :</p>
  
  <pre><code>number &lt;- 11
  [1] 1 0 1 1
  </code></pre>
  
  <p>what is the fastest possible method of conversion (using R code or some existing functions from packages) if I need to convert whole vector of numbers (minimum value = 0, maximum =300) into binary matrix ?</p>
  
  <p>Follow the rabbit :
  <code>base::intToBits</code></p>