h5array-class: Class '"h5array"'

Description Objects from the Class Slots Extends Methods Author(s) Examples

Description

An object that behaves like an array but accesses data stored on disk in an HDF5 file.

Objects from the Class

Objects can be created by calls of the form new("h5array", ...) and by using the h5array function or the h5arrayCreate function.

Slots

file:

Filename of the underlying HDF5 file

location:

Location of the data within the HDF5 file

dimnames:

Names for the dimensions of the array, this should be a list

Extends

Class "h5arrayOrMatrix", directly.

Methods

[

signature(x = "h5array", i = "ANY"): Basic accessor that should behave as expected.

[<-

signature(x = "h5array", i = "ANY", j = "ANY", value = "ANY"): Basic setter to assign values to the array, should work as expected.

getData

signature(x = "h5array"): Explicit function implementation of the accessor, requires complete indexing, i.e. no empty dimension as in e.g. x[1,]

head

signature(x = "h5array"): Show the first 6 rows and columns from the dataset

show

signature(object = "h5array"): Show an informative summary of the object.

Author(s)

Paul Theodor Pyl

Examples

1
2
3
showClass("h5array")
x <- h5arrayCreate(tempfile(), "Data", c(10,10), "double")
x

PaulPyl/h5array documentation built on May 8, 2019, 12:57 a.m.