ctypesio: 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.

Version: 0.1.1
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), jpeg
Published: 2024-10-16
DOI: 10.32614/CRAN.package.ctypesio
Author: Mike Cheng [aut, cre, cph], Anne Fu ORCID iD [ctb] (Better UTF-8 support)
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

Documentation:

Reference manual: ctypesio.pdf
Vignettes: Parsing JPEG Markers (source, R code)
Handcrafting a WAV file (source, R code)

Downloads:

Package source: ctypesio_0.1.1.tar.gz
Windows binaries: r-devel: ctypesio_0.1.1.zip, r-release: ctypesio_0.1.1.zip, r-oldrel: ctypesio_0.1.1.zip
macOS binaries: r-release (arm64): ctypesio_0.1.1.tgz, r-oldrel (arm64): ctypesio_0.1.1.tgz, r-release (x86_64): ctypesio_0.1.1.tgz, r-oldrel (x86_64): ctypesio_0.1.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=ctypesio to link to this page.