Read and Write Standard 'C' Types from Files, Connections and Raw Vectors

Interacting with binary files can be difficult because R's types are a subset of what is generally supported by 'C'. This package provides a suite of functions for reading and writing binary data (with files, connections, and raw vectors) using 'C' type descriptions. These functions convert data between 'C' types and R types while checking for values outside the type limits, 'NA' values, etc.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ctypesio")

0.1.3 by Mike Cheng, a year ago


https://github.com/coolbutuseless/ctypesio


Report a bug at https://github.com/coolbutuseless/ctypesio/issues


Browse source code at https://github.com/cran/ctypesio


Authors: Mike Cheng [aut, cre, cph] , Anne Fu [ctb] (Better UTF-8 support , ORCID:


Documentation:   PDF Manual  


MIT + file LICENSE license


Suggests knitr, rmarkdown, testthat, jpeg


Imported by picohdr.


See at CRAN