H5Rdereference: Open a reference object.

View source: R/H5R.R

H5RdereferenceR Documentation

Open a reference object.

Description

Given a reference and the file to which that reference applies, H5Rdeference() will open the reference object and return an identifier.

Usage

H5Rdereference(ref, h5loc)

Arguments

ref

H5ref object containing the reference to be opened.

h5loc

An H5IdComponent object representing the file containing the referenced object.

Details

If ref contains more than one reference, only the first reference will be used. It must be subset with [ if one of the other stored references should be opened.

Value

An object of class H5IdComponent representing the opened object referenced by ref. This should be closed with the appropriate function e.g. H5Dclose(), H5Oclose(), etc. when no longer needed.


grimbough/rhdf5 documentation built on April 16, 2024, 8:22 p.m.