cwrite: cwrite: Write vector to file

cwriteR Documentation

cwrite: Write vector to file

Description

Write a vector to a file using C for fast writing. Not much more complicated than that. It's faster than the base R write functions.

Usage

cwrite(y, l, file, showWarnings = TRUE)

Arguments

y

vector to write.

l

length of the vector; (you can provide length(y)).

file

output filename.

Examples

d = rnorm(1000);
cwrite(d, length(d), "output.txt")

nsheff/CWriteR documentation built on Jan. 5, 2025, 4:39 p.m.