Performant R Programming: Chunking a Problem into Smaller Pieces