R package.  In R, a ragged array is a list of unequally sized vectors. RaggedArray is a package that implements fast modification and replacement of ragged arrays via a pre-allocated matrix and automated tracking of free space.