View source: R/table_indices.R
table_indices | R Documentation |
Returns indices to process large tables
table_indices(path, size)
path |
Path to tabular data file. |
size |
Numeric element specifying the max. data volume (in Mb). |
This function helps process tables that are larger
than memory. Given a file path, the function infers the
storage size of the input file and determines an optimal number
of runs. To do, the argument size is used, which determines
the maximum amount of RAM that should be occupied in a single read.
Then, for each of the n runs, the function determines the corresponding
start and end rows, which are reported as a list. The output can be used
in combination with, e.g., read_delim
, which allows
users to specify starting and ending rows when importing a file.
list object with indices
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.