title: Create bag of words from string in R
body: <p>I found many implementation for bag of words but still cannot find easy one for simple, long string. My result would like to be like:</p>
  
  <pre><code>word1:     56
  word2:     31
  word:X     7
  </code></pre>
  
  <p>I have a problem with <code>qdap</code> library because in does not work on my R...</p>