| chunk | R Documentation |
Calls chunks() to create a sequence of range indexes along the object which causes
the method dispatch.
chunk(x = NULL, ...)
## Default S3 method:
chunk(x = NULL, ..., RECORDBYTES = NULL, BATCHBYTES = NULL)
x |
the object along we want chunks |
... |
further arguments passed to |
RECORDBYTES |
integer scalar representing the bytes needed to process a single element of the boolean vector (default 4 bytes for logical) |
BATCHBYTES |
integer scalar limiting the number of bytes to be processed in one
chunk, default from |
chunk is generic, the default method is described here, other methods
that automatically consider RAM needs are provided with package 'ff', see
for example ff::chunk.ffdf()
returns a named list of ri() objects
representing chunks of subscripts
chunk(default): default vector method
chunk.default, ff::chunk.ff_vector(),
ff::chunk.ffdf()
Jens Oehlschlägel
chunks(), ri(), seq(), bbatch()
chunk(complex(1e7))
chunk(raw(1e7))
chunk(raw(1e7), length=3)
chunks(1, 10, 3)
# no longer do
chunk(1, 100, 10)
# but for bckward compatibility this works
chunk(from=1, to=100, by=10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.