writeBin64: Transfer Binary Data To a Connection

Description Usage Arguments Details Author(s) See Also

Description

Write binary data to a connection.

Usage

1
2
writeBin64(object, con, size = NA_integer_,
           endian = .Platform$endian, useBytes = FALSE)

Arguments

object

An R object to be written to the connection.

con

A connection object or a character string naming a file or a raw vector.

size

integer. The number of bytes per element in the byte stream. The default, 'NA_integer_', uses the natural size. Size changing is not supported for raw and complex vectors.

endian

The endian-ness ('big' or 'little') of the target system for the file. Using 'swap' will force swapping endian-ness.

useBytes

See 'writeLines'.

Details

An extension of the standard R function writeBin. This 64-bit extension splits data into 2^30 chunks, and writes each out sequentially, overcoming the 2^31-1 limit of the original function.

Author(s)

Aaron Robotham

Maintainer: Lee Kelvin <lee.kelvin@uibk.ac.at>

See Also

The astronomy package: astro.


taranu/astro documentation built on May 23, 2019, 7:36 a.m.