H5T: HDF5 Datatype Interface

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

These functions create and manipulate the datatype which describes elements of a dataset.

Usage

1
2
H5Tcopy     (dtype_id = h5default(type = "H5T"))
H5Tset_size (dtype_id = h5default(type = "H5T"), size)

Arguments

dtype_id

A character name of a datatype. See h5const("H5T") for possible datatypes. Can also be an integer representing an HDF5 datatype.

size

The total size in bytes.

Details

Interface to the HDF5 C-library libhdf5. See http://www.hdfgroup.org/HDF5/doc/RM/RM_H5T.html for further details.

Value

The functions return the standard return value from their respective C-functions.

Author(s)

Bernd Fischer

References

http://www.hdfgroup.org/HDF5

See Also

rhdf5

Examples

1
2
3
4
5
6
7
8
9
# create character datatype with string length 10
tid <- H5Tcopy("H5T_C_S1")
H5Tset_size(tid, 10L)

# List all predefined types implemented in the R-interface
h5const("H5T")

# List all available type classes (not all of them are implemented)
h5const("H5T_CLASS")

patperry/rhdf5 documentation built on May 24, 2019, 8:21 p.m.