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


[Up] [Top]

Documentation for package ‘ctypesio’ version 0.1.1

Help Pages

aperm_array_to_vector Permute an R array to a linear vector of data
aperm_vector_to_array Permute a linear vector of data into an R array
flip_endian Flip the endianness of elements in a vector
fprintf Print formatted strings to a connection
fprintf_raw Print formatted strings to a connection
read_bfloat Read floating point values from a connection
read_dbl Read floating point values from a connection
read_f16 Read floating point values from a connection
read_f32 Read floating point values from a connection
read_f64 Read floating point values from a connection
read_float Read floating point values from a connection
read_half Read floating point values from a connection
read_hex Read bytes as hexadecimal strings
read_int16 Read integer data from a connection
read_int32 Read integer data from a connection
read_int64 Read integer data from a connection
read_int8 Read integer data from a connection
read_raw Read raw bytes
read_str Read a character string from a connection
read_str_raw Read a character string from a connection
read_uint16 Read integer data from a connection
read_uint32 Read integer data from a connection
read_uint64 Read integer data from a connection
read_uint8 Read integer data from a connection
read_utf8 Read a character string from a connection
read_utf8_raw Read a character string from a connection
scan_dbl Read values encoded as characters strings
scan_int Read values encoded as characters strings
scan_str Read values encoded as characters strings
set_bounds_check For this connection, set the response when values do not fit into given type before writing.
set_endian Tag a connection with the preferred endianness
set_eof_check Set EOF (End-of-file) handling for this connection
set_integer_promotion Tag a connection with the preferred integer promotion method for types larger that R's integer type i.e. uint32, uint64, int64
set_na_check Check for NAs in values before writing
write_dbl Convert values to the given type and write to a connection
write_f16 Convert values to the given type and write to a connection
write_f32 Convert values to the given type and write to a connection
write_f64 Convert values to the given type and write to a connection
write_half Convert values to the given type and write to a connection
write_hex Write hexadecimal string as raw bytes
write_int16 Convert values to the given type and write to a connection
write_int32 Convert values to the given type and write to a connection
write_int64 Convert values to the given type and write to a connection
write_int8 Convert values to the given type and write to a connection
write_raw Write raw bytes
write_single Convert values to the given type and write to a connection
write_uint16 Convert values to the given type and write to a connection
write_uint32 Convert values to the given type and write to a connection
write_uint64 Convert values to the given type and write to a connection
write_uint8 Convert values to the given type and write to a connection
write_utf8 Write UTF8 string
write_utf8_raw Write UTF8 string