Getting the Digits solutions

Getting the Digits was solved using R by 5 contestants. Solution sizes: average 2017 bytes (shortest: 1006; longest: 3507).