h5ls {HDF5Array} | R Documentation

## A wrapper to rhdf5::h5ls() that works on H5File objects

### Description

Like `rhdf5::h5ls()`, but works on an H5File object.

### Usage

    h5ls(file, recursive=TRUE, all=FALSE, datasetinfo=TRUE,
               index_type=h5default("H5_INDEX"), order=h5default("H5_ITER"),
               s3=FALSE, s3credentials=NULL, native=FALSE)

### Arguments

`file, recursive, all, datasetinfo, index_type, order, s3, s3credentials, native` | See `?rhdf5::h5ls` in the rhdf5 package for a description of these arguments. Note that the only difference with `rhdf5::h5ls()` is that, with `HDF5Array::h5ls()`, `file` can be an H5File object.

### Value

See `?rhdf5::h5ls` in the rhdf5 package.

### See Also

- `h5ls` in the rhdf5 package.

- H5File objects.

### Examples

    toy_h5 <- system.file("extdata", "toy.h5", package="HDF5Array")
    h5ls(toy_h5)

    h5file <- H5File(toy_h5)
    h5ls(h5file)

    ## See '?H5File' for more examples.

[Package HDF5Array version 1.22.1 Index]