Intentionally over-engineered R package for determining memory usage for dense, in-core objects