File: guess_space.Rd

package info (click to toggle)
r-cran-hdf5r 1.3.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,192 kB
  • sloc: ansic: 76,883; sh: 82; python: 32; makefile: 13
file content (29 lines) | stat: -rw-r--r-- 870 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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/convert.R
\name{guess_space}
\alias{guess_space}
\title{Guess the dataspace of an object}
\usage{
guess_space(x, dtype, chunked = TRUE)
}
\arguments{
\item{x}{The R object for which to guess the space}

\item{dtype}{Object of type \code{\link{H5T}}, that represents that datatype to use.}

\item{chunked}{Is the datatype chunked? If yes, \code{maxdims} of the space will be set to infinity,
otherwise \code{maxdims} will be set to the original extent of the space.}
}
\value{
An object of type \code{\link{H5S}}
}
\description{
Guess the dataspace of an object
}
\details{
Creates a dataspace that fits an R object so that it can be written into a dataset. This is used
for example in dataset creation based on an R-object, not a specifically defined dimensions.
}
\author{
Holger Hoefling
}