read_binary: Read a binary file

View source: R/read_binary.R

read_binaryR Documentation

Read a binary file

Description

Read a binary file

Usage

read_binary(filename, nbytes = 8)

Arguments

filename

Path to the file

nbytes

The number of bytes constituting one value (e.g. 8 bytes for a double)

Value

A numeric vector

Examples


root <- system.file("extdata", "sim-example", package = "speciomer")
read_binary(paste0(root, "/time.dat"))


rscherrer/speciomer documentation built on March 11, 2023, 5:37 p.m.