Apply a function to chunks of a file
Reads a file in chunks, applies a function to each of them, and returns to results of the function calls.
read_lines_apply(file_path, func, buffer_size = 1000, simplify = FALSE, skip = 0)
characterof length 1) The path to a file to read.
function) The function to run on each chunk of the file.
numericof length 1) The number of lines in each chunk
logicalof length 1) If
TRUE, then the result is simplified to a vector.
numericof length 1) Where to start reading the file.
listof results of
Looks like there are no examples yet.