View source: R/read_h5file_in_R.R
h5_to_r | R Documentation |
Read An H5 File into R
h5_to_r(file_path)
.h5_to_r(h5file)
file_path |
The file path of the candidate .h5 file |
h5file |
An h5 file |
An R object
# Generate a list
x <- list("length" = 2,
"integer" = 2L,
"logical" = TRUE)
# Set a path
file_path <- tempfile(fileext = ".h5")
# Write an h5 file
write_h5files(x, file_path = file_path)
# Read the h5 file into R
r_object <- h5_to_r(file_path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.