Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

convertRoundTrip

Round-trip of converting data to HDF5 and back to R


Description

Round-trip of converting data to HDF5 and back to R

Usage

convertRoundTrip(Robj, dtype, nelem = length(Robj),
  flags = h5const$H5TOR_CONV_INT64_NOLOSS)

Arguments

Robj

The object to convert

dtype

The datatype to convert it into

nelem

The number of elements in the object

flags

conversion flags from HDF5 to R

Details

Take an R-object, convert it to HDF5, convert it back and return input, output and intermediate steps This is mainly intended for use in tests.

Value

A list with input, number of elements, raw vector for intermediate storage and output

Author(s)

Holger Hoefling


hdf5r

Interface to the 'HDF5' Binary Data Format

v1.3.3
Apache License 2.0 | file LICENSE
Authors
Holger Hoefling [aut, cre], Mario Annau [aut], Novartis Institute for BioMedical Research (NIBR) [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.