# \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 <- cbind(A, B) # columns of A followed by columns of B
dim(C) # nrow(A) x (ncol(A) + ncol(B))
hdf5_close_all()
unlink(fn)
# }
Run the code above in your browser using DataLab