bdgetDim_hdf5: Get dataset dimensions

View source: R/RcppExports.R

bdgetDim_hdf5R Documentation

Get dataset dimensions

Description

get dataset dimensions

Usage

bdgetDim_hdf5(filename, element)

Arguments

filename,

character array indicating the name of the file to create

element

path to element, character array indicating the complete route to the element to query size (folder or dataset).

Value

none

Examples


matA <- matrix(c(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15), nrow = 3, byrow = TRUE)

bdCreate_hdf5_matrix_file("BasicMatVect.hdf5", matA, "INPUT", "matA")
bdgetDim_hdf5("BasicMatVect.hdf5", "INPUT/matA")

# Remove file (used as example)
  if (file.exists("BasicMatVect.hdf5")) {
    # Delete file if it exist
    file.remove("BasicMatVect.hdf5")
  }
  

BigDataStatMeth documentation built on March 30, 2022, 1:07 a.m.