Writes binary data to disjoint sections of a connection or a file.
# S3 method for default
writeBinFragments(con, object, idxs, size=NA, ...)
Returns nothing.
A connection
or the pathname of an existing file.
A vector
of objects to be written.
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 relative to the start of the file/connection.
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()
.
Henrik Bengtsson
readBinFragments
().