title: Iterating over characters of string R
body: <p>Could somebody explain me why this does not print all the numbers separately in R. </p>
  
  <pre><code>numberstring &lt;- "0123456789"
  
  for (number in numberstring) {
    print(number)
  }
  </code></pre>
  
  <p>Aren't strings just arrays of chars? Whats the way to do it in R?</p>