guess_space: Guess the dataspace of an object

Description Usage Arguments Details Value Author(s)

View source: R/convert.R

Description

Guess the dataspace of an object

Usage

1
guess_space(x, dtype, chunked = TRUE)

Arguments

x

The R object for which to guess the space

dtype

Object of type H5T, that represents that datatype to use.

chunked

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.

Details

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.

Value

An object of type H5S

Author(s)

Holger Hoefling


hdf5r documentation built on Oct. 6, 2019, 5:05 p.m.