Skip to content

nsheff/CWriteR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CWriteR

CWriteR is just an extremely simple package that provides a couple of R functions to interface to C functions to write vectors. I got frustrated with R being much slower than C to write vectors to file, and this simple utility was my solution. It is not super complicated and at this point can only write one dimensional vectors, but that's all I needed.

I also added a function to sample from vectors, writing every nth character in C. I use CWriteR in other packages to store temporary information onto disk to reduce memory use when dealing with massive vectors.

About

C++ functions for writing large vectors from R

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published