Sparse Lightweight Arrays and Matrices [R package slam version 0.1-48]