# Create chunk factory function
chunked_data <- chunk_data_(mtcars, size = 6)
# Chunk #1 (rows 1-6)
paste0(rownames(chunked_data()), collapse = ', ')
# Chunk #2 (rows 7-12)
paste0(rownames(chunked_data()), collapse = ', ')
Run the code above in your browser using DataLab