Basic (statistical) functionality for R package ff