big_fread2 | R Documentation |
Read large text file by splitting columns.
big_fread2(file, nb_parts = NULL, .transform = identity, .combine = cbind_df, skip = 0, select = NULL, progress = FALSE, part_size = 500 * 1024^2, ...)
file |
Path to file that you want to read. |
nb_parts |
Number of parts in which to split reading (and transforming).
Parts are referring to blocks of selected columns.
Default uses |
.transform |
Function to transform each data frame corresponding to each block of selected columns. Default doesn't change anything. |
.combine |
Function to combine results (list of data frames). |
skip |
Number of lines to skip at the beginning of |
select |
Indices of columns to keep (sorted). Default keeps them all. |
progress |
Show progress? Default is |
part_size |
Size of the parts if |
... |
Other arguments to be passed to data.table::fread,
excepted |
The outputs of fread2
+ .transform
, combined with .combine
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.