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.
| Version: | 0.1.3 | 
| Depends: | R (≥ 4.1.0) | 
| Suggests: | knitr, rmarkdown, testthat (≥ 3.0.0), jpeg | 
| Published: | 2025-07-28 | 
| DOI: | 10.32614/CRAN.package.ctypesio | 
| Author: | Mike Cheng [aut, cre, cph],
  Anne Fu | 
| Maintainer: | Mike Cheng <mikefc at coolbutuseless.com> | 
| BugReports: | https://github.com/coolbutuseless/ctypesio/issues | 
| License: | MIT + file LICENSE | 
| URL: | https://github.com/coolbutuseless/ctypesio | 
| NeedsCompilation: | yes | 
| Materials: | NEWS | 
| CRAN checks: | ctypesio results | 
| Reference manual: | ctypesio.html , ctypesio.pdf | 
| Vignettes: | Parsing JPEG Markers (source, R code) Handcrafting a WAV file (source, R code) | 
| Package source: | ctypesio_0.1.3.tar.gz | 
| Windows binaries: | r-devel: ctypesio_0.1.3.zip, r-release: ctypesio_0.1.3.zip, r-oldrel: ctypesio_0.1.3.zip | 
| macOS binaries: | r-release (arm64): ctypesio_0.1.3.tgz, r-oldrel (arm64): ctypesio_0.1.3.tgz, r-release (x86_64): ctypesio_0.1.3.tgz, r-oldrel (x86_64): ctypesio_0.1.3.tgz | 
| Old sources: | ctypesio archive | 
| Reverse imports: | picohdr | 
Please use the canonical form https://CRAN.R-project.org/package=ctypesio to link to this page.