H5Ldelete | R Documentation |
Remove a link from a group
H5Ldelete(h5loc, name)
h5loc |
An object of class H5IdComponent representing a H5 location identifier (file or group). |
name |
The name of the link to be deleted. |
h5file <- tempfile(pattern = "_ex_H5L.h5")
# create an hdf5 file and a group
h5createFile( h5file )
h5createGroup(h5file,"/foo")
# reopen file and confirm "/foo" exists but "/baa" does not
fid <- H5Fopen(h5file)
H5Lexists(fid, "/foo")
# remove the link to "/foo" and confirm it no longer exists
H5Ldelete(fid, "/foo")
H5Lexists(fid, "/foo")
H5Fclose(fid)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.