Package 'Rhdf5lib'

Title: hdf5 library as an R package
Description: Provides C and C++ hdf5 libraries.
Authors: Mike Smith [ctb, cre] , The HDF Group [cph]
Maintainer: Mike Smith <[email protected]>
License: Artistic-2.0
Version: 1.25.3
Built: 2024-09-20 12:11:31 UTC
Source: https://github.com/grimbough/Rhdf5lib

Help Index


Report the version of HDF5 distributed with this package

Description

This function returns the version number of the HDF5 library that is distributed with this package.

Usage

getHdf5Version()

Value

Returns a character vector of length 1 containing the version number.

Examples

getHdf5Version()

Compiler arguments for using Rhdf5lib

Description

This function returns values for PKG_LIBS variables for use in Makevars files.

Usage

pkgconfig(
  opt = c("PKG_CXX_LIBS", "PKG_C_LIBS", "PKG_CXX_HL_LIBS", "PKG_C_HL_LIBS")
)

Arguments

opt

A scalar character from the list of available options; default is PKG_CXX_LIBS. Valid options are PKG_C_LIBS, PKG_CXX_LIBS, PKG_C_HL_LIBS and PKG_CXX_HL_LIBS, where HL indicates that you want to include the HDF5 'high-level' API and CXX denotes including the C++ interface.

Value

NULL; prints the corresponding value to stdout.

Examples

pkgconfig("PKG_C_LIBS")
pkgconfig("PKG_CXX_LIBS")
pkgconfig("PKG_C_HL_LIBS")
pkgconfig("PKG_CXX_HL_LIBS")

Rhdf5lib: A version of the HDF5 library built into an R package.

Description

This package provides a compiled version of the HDF5 library bundled within the R package structure. It is primarily useful to developers of other R packages who want to make use of the capabilities of the HDF5 library directly in the C or C++ code of their own packages, rather than using a higher level interface.