as.hdf5.dataset {rhdf5} | R Documentation |
An R array or vector will be transformed into an HDF5 object.
as.hdf5.dataset(file, value, name)
file |
An object of type hdf5.file or hdf5.group
that will contain the dataset. |
value |
The R array or vector to be turned in to an HDF5 dataset. |
name |
A string giving the name that the new dataset will have
in file . |
The R object is turned in to an HDF5 dataset of the corresponding
type. It is stored in the file or group specified in the file
argument.
An object of class hdf5.dataset
is returned.
R. Gentleman
## Not run: mad <- hdf5.open("microarray.h5") x <- matrix(rnorm(100), nc=2) j <- as.hdf5.dataset(mad, x) ## End(Not run)