big_fread1 {bigreadr}R Documentation

Read large text file

Description

Read large text file by splitting lines.

Usage

big_fread1(file, every_nlines, .transform = identity,
  .combine = rbind_df, skip = 0, ..., print_timings = TRUE)

Arguments

file

Path to file that you want to read.

every_nlines

Maximum number of lines in new file parts.

.transform

Function to transform each data frame corresponding to each part of the file. Default doesn't change anything.

.combine

Function to combine results (list of data frames).

skip

Number of lines to skip at the beginning of file.

...

Other arguments to be passed to data.table::fread, excepted input, file, skip, col.names and showProgress.

print_timings

Whether to print timings? Default is TRUE.

Value

A data.frame by default; a data.table when data.table = TRUE.


[Package bigreadr version 0.2.4 Index]