Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

## Default S3 method:
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 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.

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.

Author(s)

Henrik Bengtsson

See Also

Examples

## Not run: # See example(readBinFragments.connection)

R.utils

Various Programming Utilities

v2.10.1
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.