writeBinFragments {R.utils} | R Documentation |
Writes binary data to disjoint sections of a connection or a file.
## Default S3 method: writeBinFragments(con, object, idxs, size=NA, ...)
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 Nx2 matrix
of N from-to index intervals specifying the elements to be read. |
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 (). |
Returns nothing.
Henrik Bengtsson (http://www.braju.com/R/)
## Not run: # See example(readBinFragments.connection)