Created
July 8, 2014 10:42
-
-
Save hardingnj/f96ebb5c1ce867830d1a to your computer and use it in GitHub Desktop.
hd5 compression test, R doesn't like lzf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/R | |
library(rhdf5) | |
# Suceeds: | |
dat_gzip <- tryCatch( | |
{ dat_gzip <- h5read('gzip.h5', "/"); print(summary(dat_gzip)); }, | |
error = function(e) { stop(e) } | |
) | |
# Fails: | |
dat_lzf <- tryCatch( | |
{ dat_lzf <- h5read('lzf.h5', "/"); print(summary(dat_lzf)); }, | |
error = function(e) { stop(e) } | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment