writeBinFragments
From R.utils v1.26.2
by Henrik Bengtsson
Writes binary data to disjoint sections of a connection or a file
Writes binary data to disjoint sections of a connection or a file.
- Keywords
- IO
Usage
## S3 method for class 'default':
writeBinFragments(con, object, idxs, size=NA, ...)
Arguments
- con
- A
connection
or the pathname of an existing file. - object
- A
vector
of objects to be written. - idxs
- A
vector
of (non-duplicated) indices or a Nx2matrix
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()
.
Value
- Returns nothing.
See Also
Examples
# See example(readBinFragments.connection)
Community examples
Looks like there are no examples yet.