# 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")
Run the code above in your browser using DataLab