```
> object.size(integer(1))
48 bytes
> object.size(numeric(1))
48 bytes

```

I was trying to estimate how much memory my matrix would take when I found this. I thought integers took 4 bytes and numerics took 8 bytes. What's going on with how R allocates memory?