Drop a datset, attribute, or group from an HDF file.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | if(hql_is_loaded()){
tf = tempfile(fileext = ".h5")
hql_create_file(tf)
hql_use_file(tf)
x = rnorm(10)
attr(x, "myattribute") = "some information"
hql_write_dataset(x, "mygroup/mydataset")
hql_drop_attribute("mygroup/mydataset/myattribute")
hql_drop_dataset("mygroup/mydataset")
hql_drop_group("mygroup")
hql_close_file(tf)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.