as.double.hdf5.dataset {rhdf5} | R Documentation |
These should coerce an object of class hdf5.dataset
to have the
specified type. Coercion means generally the creation of a new object.
as.double.hdf5.dataset(x, ...) as.single.hdf5.dataset(x, ...)
x |
An object of class hdf5.dataset . |
... |
Additional arguments. |
These functions are currently dangerous as they do nothing. The problem with implementing them is that coercion will generally mean duplication. Since these are large HDF5 objects duplication probably means the creation of new HDF5 datasets. That raises the question of where these should be created.
It would probably be useful to allow a location, or hdf5.file or hdf5.group argument to indicate where the copy should go.
An object of the same dimensions as x
but of the requested
type. If x
is already of the requested type then no action is
taken.
R. Gentleman
## No examples until we resolve the copying issue.