title: R: splitting a numeric string
body: <p>I'm trying to split a numeric string of 40 digits (ie. splitting <code>123456789123456789123456789</code> into <code>1 2 3 4</code> etc.)</p>
  
  <p>Unfortunately <code>strsplit</code> doesn't work as it requires characters, and converting the string using <code>as.character</code> doesn't work as it is very long and R automatically cuts off decimals for long digits (maximum is 22 decimals). I thus end up with <code>"1.2345e+35"</code> as a character string, instead of the full digit.</p>
  
  <p>Is there a numeric variant of <code>strsplit</code>, or a work around to the decimal-cutting-off issue? I can't seem to find the answer on stackoverflow, but apologies if this has already been answered before.  Thanks in advance!</p>