Closed
Description
Hi,
I just updated to version 2.0. The chunk_size
parameter of the read_delim_chunked
function does not seem to work. Regardless of the argument that I pass, the chunk size remains fixed at 10000.
Thanks.
EDIT: Here is a reproducible example. Chunk size argument does not work when reading mtcars.csv
:
library(readr)
f <- function(x, pos) print(nrow(x))
read_delim_chunked(file = readr_example("mtcars.csv"),
delim = ",",
callback = SideEffectChunkCallback$new(f),
chunk_size = 5)
The output is "32," indicating that all 32 rows were read at once.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels