\donttest{
tmp <- tempfile(fileext = ".h5")
X <- hdf5_create_matrix(tmp, "data/matrix", data = matrix(rnorm(100), 10, 10))
X <- hdf5_matrix(tmp, "data/matrix")
is_open(X) # TRUE
close(X)
is_open(X) # FALSE
unlink(tmp)
}is_open
is_open
HDF5MATRIX_CORE
1 Description
Check whether an HDF5Matrix object is still valid and open.
2 Usage
is_open(x)3 Arguments
| Parameter | Description |
|---|---|
x |
An object |
4 Value
Logical. if object is valid and open, otherwise.