cwrite: cwrite: Write vector to file

Description Usage Arguments Examples

View source: R/cwrite.R

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

1
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

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

nsheff/CWriteR documentation built on May 24, 2019, 7:50 a.m.