| hql_write {hdfqlr} | R Documentation | 
Write HDF Dataset or Attribute
Description
Write a dataset or attribute to an HDF file.
Usage
hql_write_dataset(
  dataset,
  path,
  include.attributes = TRUE,
  overwrite = FALSE,
  parallel = FALSE
)
hql_write_attribute(attribute, path, overwrite = FALSE, parallel = FALSE)
hql_write_all_attributes(attributes, path, overwrite = FALSE, parallel = FALSE)
Arguments
| dataset | The dataset to write. The object must be coercible to an array. | 
| path | The location within the HDF file to write the dataset or attribute(s). | 
| include.attributes | If  | 
| overwrite | If  | 
| parallel | Use parallel processing functionality. | 
| attribute | The attribute to write. | 
| attributes | A list of attributes to write. | 
Functions
-  hql_write_dataset: Write a dataset to an HDF file.
-  hql_write_attribute: Write an attribute to an HDF file.
-  hql_write_all_attributes: Write multiple attributes to an HDF file.
Examples
if(hql_is_loaded()){
  tf = tempfile(fileext = ".h5")
  hql_create_file(tf)
  hql_use_file(tf)
  x = matrix(rnorm(100), nrow = 20)
  hql_write_dataset(x, "dataset0")
  hql_write_attribute("normal", "dataset0/dist")
  y = month.name
  attr(y, "abbreviation") = month.abb
  hql_write_dataset(y, "group1/dataset1")
  hql_close_file(tf)
}
[Package hdfqlr version 0.6-2 Index]