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.

Package details

AuthorMike Cheng [aut, cre, cph], Anne Fu [ctb] (Better UTF-8 support, <https://orcid.org/0000-0002-9025-6071>)
MaintainerMike Cheng <mikefc@coolbutuseless.com>
LicenseMIT + file LICENSE
Version0.1.2
URL https://github.com/coolbutuseless/ctypesio
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("ctypesio")

Try the ctypesio package in your browser

Any scripts or data that you put into this service are public.

ctypesio documentation built on April 3, 2025, 7:28 p.m.