Read a file as a Filebacked Data Frame by using package bigreadr.

FDF_read(file, filter = NULL, backingfile = drop_ext(file), ...)

Arguments

file

File to read.

filter

Vector used to subset the rows of each data frame.

backingfile

Path to the file storing the data frame on disk. Default uses file without its extension.

...

Arguments passed on to bigreadr::big_fread2

nb_parts

Number of parts in which to split reading (and transforming). Parts are referring to blocks of selected columns. Default uses part_size to set a good value.

skip

Number of lines to skip at the beginning of file.

select

Indices of columns to keep (sorted). Default keeps them all.

progress

Show progress? Default is FALSE.

part_size

Size of the parts if nb_parts is not supplied. Default is 500 * 1024^2 (500 MB).

Value

A Filebacked Data Frame.