Open dariomel opened 7 years ago
creating a new file that contains a data set and then calling h5close fails to update the file on disk:
library(h5) f=h5file("bug.h5",'w') f['a']=1:3 h5close(f) system("/opt/apps/tools/hdf5-1.10.1/bin/h5dump bug.h5") h5dump error: unable to open file "bug.h5"
The file appears to be updated correctly after quitting and restarting R,
system("/opt/apps/tools/hdf5-1.10.1/bin/h5dump bug.h5") HDF5 "bug.h5" { GROUP "/" { DATASET "a" { DATATYPE H5T_STD_I32LE DATASPACE SIMPLE { ( 3 ) / ( H5S_UNLIMITED ) } DATA { (0): 1, 2, 3 } } } }
sessionInfo
sessionInfo() R version 3.4.1 (2017-06-30) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 14.04.5 LTS Matrix products: default BLAS/LAPACK: /mnt/share/apps/tools/intel-2017_3/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64_lin/libmkl_rt.so locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] h5_0.9.8 loaded via a namespace (and not attached): [1] compiler_3.4.1 tools_3.4.1 Rcpp_0.12.12
creating a new file that contains a data set and then calling h5close fails to update the file on disk:
The file appears to be updated correctly after quitting and restarting R,
sessionInfo