h5_save | R Documentation |
Saves a number of R objects to an HDF5 file.
h5save(..., file, name = NULL, createnewfile = TRUE, native = FALSE)
... |
The objects to be saved. |
file |
The filename (character) of the file in which the dataset will
be located. It is also possible to provide an object of
class H5IdComponent representing a H5 location identifier
(file or group). See |
name |
A character vector of names for the datasets. The length of the name vector should match the number of objects. |
createnewfile |
If |
native |
An object of class |
The objects will be saved to the HDF5 file. If the file does not exists it
will be created. The data can be read again by either h5dump()
or individually for each dataset by h5read()
.
Nothing returned.
Bernd Fischer
h5ls()
, h5write()
A = 1:7; B = 1:18; D = seq(0,1,by=0.1)
h5File <- tempfile(pattern = "ex_save.h5")
h5save(A, B, D, file = h5File)
h5dump(h5File)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.