Learn R Programming

BigDataStatMeth (version 2.0.3)

print.HDF5Matrix: Print an HDF5Matrix object

Description

Print an HDF5Matrix object

Usage

# S3 method for HDF5Matrix
print(x, ...)

Value

Invisible x

Arguments

x

An HDF5Matrix object

...

Ignored

Examples

Run this code
# \donttest{
tmp <- tempfile(fileext = ".h5")

X  <- hdf5_create_matrix(tmp, "data/matrix", data = matrix(rnorm(100), 10, 10))
X <- hdf5_matrix(tmp, "data/matrix")

print(X)
X   # same as print(X)

X$close()
unlink(tmp)
# }

Run the code above in your browser using DataLab