grimbough / rhdf5

Package providing an interface between HDF5 and R
http://bioconductor.org/packages/rhdf5
61 stars 22 forks source link

update hdf5 library version #18

Closed mtmorgan closed 6 years ago

mtmorgan commented 6 years ago

in reference to https://support.bioconductor.org/p/109845/#109881 it seems like libhdf5 1.10 can (as expected) read files created by older libraries, but not vice versa, so updating to 1.10 might not have major down-sides (other than x hours of effort!).

grimbough commented 6 years ago

I guess this really wants to be an issue at https://github.com/grimbough/Rhdf5lib ?

When I first started creating Rhdf5lib I know I started with HDF5 version 1.10, but encountered problems getting it to work on Windows, so I reverted to 1.8 at that point. I know a hell of a lot more about building HDF5 now though, so maybe I can avoid those problems if it makes everything a bit more future proof.

grimbough commented 6 years ago

This is a lot more tricky than expected, as HDF5 moved from 32bit to 64bit integers for the internal handles. Since we pass these between C and R in almost every function it breaks a lot of things. Currently working in the tenPointTwo branch to try and solve this.