Dear Dr. Dietze,
Hugh Pumphrey wrote:
Many thanks for your bug report.
In order to make further progress on this, I suspect that we would
need a test case
Barbara Jones at the HDF group pointed me at the discussion of your
problem in the HDF Forum mailing list
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
In this, you give the following test case (corrected for a typo and also
to use a variable name that is not an R function).
-----------------------------
library(hdf5)
mydata = 1:10
hdf5save("test.h5","mydata")
(exit from R and then re-start R)
library(hdf5)
hdf5load("test.h5")
mydata
---------------------------------
On my computer this works exactly as expected, printing
[1] 1 2 3 4 5 6 7 8 9 10
Furthermore, running the h5dump utility on the file test.h5 returns the
following:
h...@holly:~/wrk/R$ h5dump test.h5
HDF5 "test.h5" {
GROUP "/" {
DATASET "mydata" {
DATATYPE H5T_STD_I32LE
DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
DATA {
(0): 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
}
}
}
}
This all looks normal to me, so I think that the problem that you are
having may be due to some aspect of your local system. I'm afraid that I
can't easily diagnose what is wrong from here.
(I am using R version 2.7.1, version 1.6.7 of the R HDF5 package and
HDF5 version 1.6.6 --- these are all what you get with the current
stable release of Debian Linux on i386 architecture.)
Sorry that I don't have an immediate fix, but hopefully this info will
push you in the right direction.
All the best
Hugh Pumphrey
--
============S=u=p=p=o=r=t===D=e=b=i=a=n===http://www.debian.org =======
Dr. Hugh C. Pumphrey | Tel. 0131-650-6026,Fax:0131-662-0478
School of GeoSciences | Replace 0131 with +44-131 if outside UK
The University of Edinburgh | Email: [email protected]
EDINBURGH EH9 3JN, Scotland | web: www.geos.ed.ac.uk/contacts/homes/hcp
================S=u=p=p=o=r=t==F=r=e=e==S=o=f=t=w=a=r=e================
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org