File: convertRoundTrip.Rd

package info (click to toggle)
r-cran-hdf5r 1.3.3%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 12,344 kB
  • sloc: ansic: 85,341; sh: 51; python: 32; makefile: 13
file content (32 lines) | stat: -rw-r--r-- 863 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/convert.R
\name{convertRoundTrip}
\alias{convertRoundTrip}
\title{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{
\item{Robj}{The object to convert}

\item{dtype}{The datatype to convert it into}

\item{nelem}{The number of elements in the object}

\item{flags}{conversion flags from HDF5 to R}
}
\value{
A list with input, number of elements, raw vector for intermediate storage and output
}
\description{
Round-trip of converting data to HDF5 and back 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.
}
\author{
Holger Hoefling
}
\keyword{internal}