writeBinFragments: Writes binary data to disjoint sections of a connection or a file
Description
Writes binary data to disjoint sections of a connection or a file.Usage
## S3 method for class 'default':
writeBinFragments(con, object, idxs, size=NA, ...)
Arguments
object
A vector
of objects to be written. idxs
A vector
of (non-duplicated) indices or a Nx2 matrix
of N from-to index intervals specifying the elements to be read.
Positions are always rela size
The size of the data type to be read. If NA
, the natural
size of the data type is used. ...
Additional arguments passed to
writeBin()
. Examples
Run this code# See example(readBinFragments.connection)
Run the code above in your browser using DataLab