H5IdComponent-class | R Documentation |
A class representing a HDF5 identifier handle. HDF5 identifiers represent open files, groups, datasets, dataspaces, attributes, and datatypes.
## S4 method for signature 'H5IdComponent'
show(object)
## S4 method for signature 'H5IdComponent,character'
e1 & e2
## S4 method for signature 'H5IdComponent'
x$name
## S4 replacement method for signature 'H5IdComponent'
x$name <- value
## S4 method for signature 'H5IdComponent'
x[i, j, ..., drop = TRUE]
## S4 replacement method for signature 'H5IdComponent'
x[i, j, ...] <- value
object |
Object of class |
e1 |
An |
e2 |
Character giving the path to an HDF5 group or dataset relative to |
x |
Object of class |
name |
Character giving the path to an HDF5 group or dataset relative to |
value |
Array-like R object containing value to be inserted into the HDF5 dataset. |
i , j , ... |
Indices specifying elements to extract or replace. Indices
are |
drop |
If |
show(H5IdComponent)
: Print details of the object to screen.
e1 & e2
: Returns a group handle or dataset handle for the
group or dataset name
in the HDF5 location h5loc
. h5loc
can either be a file handle
as returned by H5Fopen or a group handle as e.g. returned by h5f$g1
or
h5f$'/g1/g2'
.
$
: Reads the HDF5 object name
in the HDF5 location x
. x
can either be
a file handle as returned by H5Fopen or a group handle as e.g. returned by
h5f$g1
or h5f$'/g1/g2'
.
`$`(H5IdComponent) <- value
: Writes the assigned object to to the HDF5 file at
location e1. e1 can either be a file handle as returned by H5Fopen or a
group handle as e.g. returned by h5f$g1 or h5f$'/g1/g2's. The storage.mode
of the assigned object has to be compatible to the datatype of the HDF5
dataset. The dimension of the assigned object have to be identical the
dimensions of the HDF5 dataset. To create a new HDF5 dataset with specific
properties (e.g. compression level or chunk size), please use the function
h5createDataset first.
[
: Subsetting of an HDF5 dataset. The function reads a
subset of an HDF5 dataset. The given dimensions have to fit the dimensions
of the HDF5 dataset.
`[`(H5IdComponent) <- value
: Subsetting of an HDF5 dataset. The function writes
an R data object to a subset of an HDF5 dataset. The given dimensions have
to fit the dimensions of the HDF5 dataset. The HDF5 dataset has to be
created beforehand, e.g. by h5createDataset.
ID
integer
of length 1. Contains the handle of C-type hid_t
.
native
An object of class logical
. If TRUE, array-like objects
are treated as stored in HDF5 row-major rather than R column-major
orientation. Using native = TRUE
increases HDF5 file portability
between programming languages. A file written with native = TRUE
should also be read with native = TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.