I was wondering if anyone has experience with the hdf5 package for the R
statistical software. Right now we can get the code to compile and while
it usually reads existing hdf5 files it doesn't write hdf5 files that can
be read by itself or other software.
We have tried installing this on various Linux machines (both Red Hat and
Ubuntu) by using both the package managers and compiling the code from
scratch. We've compiled using both HDF5 1.8 and 1.6 and neither works.
Specifically, this simple test in R produces the following error
Step 1: create file (run from within R)
library(hdf5)
data = 1:10
hdf5save("test.h5","dat")
Step 2: exit and then restart R
hdf5load("test.h5")
HDF5-DIAG: Error detected in HDF5 library version: 1.6.6 thread
47700932800864. Back trace follows.
#000: H5F.c line 2049 in H5Fopen(): unable to open file
major(04): File interface
minor(17): Unable to open file
#001: H5F.c line 1829 in H5F_open(): unable to read superblock
major(04): File interface
minor(24): Read failed
#002: H5Fsuper.c line 114 in H5F_read_superblock(): unable to find file
signature
major(04): File interface
minor(19): Not an HDF5 file
#003: H5F.c line 1281 in H5F_locate_signature(): unable to find a valid
file signature
major(05): Low-level I/O layer
minor(29): Unable to initialize object
Error in hdf5load("test.h5") : unable to open HDF file: test.h5
···
________________________________________________________________________
Michael Dietze mdietze@illinois.edu
Assistant Professor www.life.uiuc.edu/dietze
Department of Plant Biology (217) 265-8020
University of Illinois 1405 IGB / 183 Morrill