Guess the dataspace of an object
guess_space(x, dtype, chunked = TRUE)
The R object for which to guess the space
Object of type H5T
, that represents that datatype to use.
Is the datatype chunked? If yes, maxdims
of the space will be set to infinity,
otherwise maxdims
will be set to the original extent of the space.
An object of type H5S
Creates a dataspace that fits an R object so that it can be written into a dataset. This is used for example in dataset creation based on an R-object, not a specifically defined dimensions.