title: How to read a counter key value pair from python in R?
body: <p>I have data generated from a Python script where the entries look like:</p>
  <pre><code>Counter({'a': 3, 'b': 2})
  </code></pre>
  <p>or</p>
  <pre><code>Counter({'a': 4, 'b': 1, 'c': 7})
  </code></pre>
  <p>If the above are read as characters in R, how can I extract the values into a single vector or other object that R can read? So, in the second example, we would have:</p>
  <pre><code>c('a','a','a','a','b','c','c','c','c','c','c','c')
  </code></pre>