H5Fis_hdf5: Determine whether a file is in the HDF5 format

View source: R/H5F.R

H5Fis_hdf5R Documentation

Determine whether a file is in the HDF5 format

Description

H5Fis_hdf5() determines whether a file is in the HDF5 format.

Usage

H5Fis_hdf5(name, showWarnings = TRUE)

Arguments

name

Character vector of length 1, giving the path to the file to be checked.

showWarnings

If the file doesn't exist an warning is generated. Setting this argument to FALSE will suppress the warning.

Value

Returns TRUE, if the file is an HDF5 file, or FALSE otherwise. In the case the file doesn't exist, NA is returned


grimbough/rhdf5 documentation built on April 16, 2024, 8:22 p.m.