Silly question here. Is the second arg in hdf5save supposed to be the name of the array you create above it? If so, one is spelled 'data' and the arg is spelled "dat". Don't know if that matters.
Mark On Mon, 2010-03-29 at 17:04, [email protected] wrote: > 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 [email protected] > Assistant Professor www.*life.uiuc.edu/dietze > Department of Plant Biology (217) 265-8020 > University of Illinois 1405 IGB / 183 Morrill > > > > > > _______________________________________________ > Hdf-forum is for HDF software users discussion. > [email protected] > http://*mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org -- Mark C. Miller, Lawrence Livermore National Laboratory ================!!LLNL BUSINESS ONLY!!================ [email protected] urgent: [email protected] T:8-6 (925)-423-5901 M/W/Th:7-12,2-7 (530)-753-851 _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
