H5Dread | R Documentation |
H5Dread()
reads a (partial) dataset from an HDF5 file into the R session.
H5Dread(
h5dataset,
h5spaceFile = NULL,
h5spaceMem = NULL,
buf = NULL,
compoundAsDataFrame = TRUE,
bit64conversion,
drop = FALSE
)
h5dataset |
Object of class H5IdComponent representing an open HDF5 dataset. |
h5spaceFile |
An object of class |
h5spaceMem |
An object of class |
buf |
Buffer to hold the read data. The buffer size has to fit the
size of the memory space |
compoundAsDataFrame |
Logical vector of length 1. If |
bit64conversion |
Defines how 64-bit integers are converted. (See the details section for more information on these options.) |
drop |
Logical vector of length 1. If |
Internally, R does not support 64-bit integers. All integers in R are 32-bit integers. By setting bit64conversion='int', a coercing to 32-bit integers is enforced, with the risk of data loss, but with the insurance that numbers are represented as integers. bit64conversion='double' coerces the 64-bit integers to floating point numbers. doubles can represent integers with up to 54-bits, but they are not represented as integer values anymore. For larger numbers there is again a data loss. bit64conversion='bit64' is recommended way of coercing. It represents the 64-bit integers as objects of class 'integer64' as defined in the package 'bit64'. Make sure that you have installed 'bit64'. The datatype 'integer64' is not part of base R, but defined in an external package. This can produce unexpected behaviour when working with the data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.