1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% writeBinFragments.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{writeBinFragments}
\alias{writeBinFragments.default}
\alias{writeBinFragments}
\title{Writes binary data to disjoint sections of a connection or a file}
\usage{
\method{writeBinFragments}{default}(con, object, idxs, size=NA, ...)
}
\description{
Writes binary data to disjoint sections of a connection or a file.
}
\arguments{
\item{con}{A \code{\link[base:connections]{connection}} or the pathname of an existing file.}
\item{object}{A \code{\link[base]{vector}} of objects to be written.}
\item{idxs}{A \code{\link[base]{vector}} of (non-duplicated) indices or a Nx2 \code{\link[base]{matrix}}
of N from-to index intervals specifying the elements to be read.
Positions are always relative to the start of the file/connection.}
\item{size}{The size of the data type to be read. If \code{\link[base]{NA}}, the natural
size of the data type is used.}
\item{...}{Additional arguments passed to
\code{\link[base:readBin]{writeBin}()}.}
}
\value{
Returns nothing.
}
\examples{\dontrun{# See example(readBinFragments.connection)}}
\author{Henrik Bengtsson}
\seealso{
\code{\link{readBinFragments}}().
}
\keyword{IO}
|