h5Prep {hdf5r.Extra}R Documentation

Prepare an R object to be written into HDF5 file

Description

Methods to transform a complex R object (for example, S4 object) into combination of base R objects, such as vector, array, data.frame or list, so that it can be written into HDF5 file.

Usage

h5Prep(x, ...)

## Default S3 method:
h5Prep(x, ...)

Arguments

x

The R object to be transformed

...

Arguments to be passed to other methods

Details

In this package, h5Prep will return x itself by default. Extended methods can be easily added for specific S4 class.

Value

An R object of converted x.


[Package hdf5r.Extra version 0.0.6 Index]