| Type: | Package |
| Title: | Headers and Static Libraries for 'HDF5' |
| Version: | 2.1.1.0 |
| Description: | Provides a self-contained, static build of the 'HDF5' (Hierarchical Data Format 5) 'C' library (release 2.1.1) for R package developers. Designed for use in the 'LinkingTo' field, it enables zero-dependency integration by building the library entirely from source during installation. Additionally, it compiles and internally links a comprehensive suite of advanced compression filters and their 'HDF5' plugins (Zstd, LZ4, Blosc/Blosc2, Snappy, ZFP, Bzip2, LZF, Bitshuffle, szip, and gzip). These plugins are integrated out-of-the-box, allowing downstream packages to utilize high-performance compression directly through the standard 'HDF5' API while keeping the underlying third-party headers fully encapsulated. 'HDF5' is developed by The HDF Group https://www.hdfgroup.org/. |
| URL: | https://github.com/cmmr/hdf5lib, https://cmmr.github.io/hdf5lib/ |
| BugReports: | https://github.com/cmmr/hdf5lib/issues |
| License: | MIT + file LICENSE |
| Encoding: | UTF-8 |
| Depends: | R (≥ 4.2.0) |
| NeedsCompilation: | yes |
| RoxygenNote: | 7.3.3 |
| Packaged: | 2026-04-01 04:47:02 UTC; Daniel |
| Author: | Daniel P. Smith |
| Maintainer: | Daniel P. Smith <dansmith01@gmail.com> |
| Repository: | CRAN |
| Date/Publication: | 2026-04-02 05:10:02 UTC |
hdf5lib: Headers and Static Libraries for 'HDF5'
Description
hdf5lib provides a self-contained, static build of the HDF5 C library
(version 1.14.6) and zlib (version 1.3.1).
Details
This package provides no R functions and is intended for R package
developers to use in the LinkingTo field of their DESCRIPTION file.
It allows other R packages to easily link against HDF5 without
requiring users to install any system-level dependencies.
Author(s)
Maintainer: Daniel P. Smith dansmith01@gmail.com (ORCID)
Other contributors:
The HDF Group (Copyright holder of the HDF5 library) [copyright holder]
Jean-loup Mark (Copyright holder of the zlib library) [copyright holder]
Gailly Adler (Copyright holder of the zlib library) [copyright holder]
See Also
Useful links:
Report bugs at https://github.com/cmmr/hdf5lib/issues
Get C/C++ Compiler Flags for hdf5lib
Description
Provides the required C/C++ compiler flags to find the HDF5 header
files bundled with the hdf5lib package.
Usage
c_flags(api = "latest")
Arguments
api |
A numeric value specifying the HDF5 API version to use (e.g.,
|
Value
A scalar character vector containing the compiler flags (e.g., the
-I path to the package's inst/include directory).
See Also
Examples
c_flags()
c_flags(api = 1.14)
Get C/C++ Linker Flags for hdf5lib
Description
Provides the required linker flags to link against the static HDF5
library (libhdf5z.a) bundled with the hdf5lib package.
Usage
ld_flags(api = "latest")
Arguments
api |
A numeric value or the string |
Value
A scalar character vector containing the linker flags.
See Also
Examples
ld_flags()