# \donttest{
fn <- tempfile(fileext = ".h5")
A <- hdf5_create_matrix(fn, "grp/A", data = matrix(rnorm(100), 10, 10))
B <- hdf5_create_matrix(fn, "grp/B", data = matrix(rnorm(100), 10, 10))
A <- hdf5_matrix(fn, "grp/A")
B <- hdf5_matrix(fn, "grp/B")
C <- rbind(A, B) # rows of A followed by rows of B
dim(C) # (nrow(A) + nrow(B)) x ncol(A)
hdf5_close_all()
unlink(fn)
# }
Run the code above in your browser using DataLab