Hi Nwerth,
In R It isn't a s simple as that ...
I'm using only c(), . and numbers, I test and the memory depend only on the number of characters.
I tried repeated numbers and it didn't really matter.
I can't really find the logic...
Characters, Bytes
1-7, 112
8-15, 120
16-31,136
32-47,152
48-63,168
64-127,231
123-?,240
I used:
library(pryr)
object_size()
example:
> x="1234567890"
> object_size(x)
120 B
I know that R is mainly build to load files, but sometimes using just the online is easier