processByChunks {cTRAP} | R Documentation |
Process data by chunks
processByChunks( data, FUN, num, ..., threads = 1, chunkGiB = 1, verbose = FALSE )
data |
Character containing a HDF5 file path (allowing partial loading) or data matrix (processed as single chunk if data matrix) |
FUN |
Function: function to run for each chunk |
num |
Numeric: numbers of methods to run per chunk |
... |
Arguments passed to |
threads |
Integer: number of parallel threads |
chunkGiB |
Numeric: size (in gibibytes) of chunks to load
|
verbose |
Boolean: print additional details? |
Results of running FUN
All rows from file are currently loaded when processing chunks.