title: How to deal with hdf5 files in R?
body: <p>I have a file in <code>hdf5</code> format.  I know that it is supposed to be a matrix, but I want to read that matrix in <code>R</code> so that I can study it.  I see that there is a <code>h5r</code> package that is supposed to help with this, but I do not see any simple to read/understand tutorial.  Is such a tutorial available online.  Specifically, How do you read a <code>hdf5</code> object with this package, and how to actually extract the matrix?</p>
  
  <p>UPDATE</p>
  
  <p>I found out a package <code>rhdf5</code> which is not part of CRAN but is part of BioConductoR.  The interface is relatively easier to understand the the documentation and example code is quite clear.  I could use it without problems.  My problem it seems was the input file.  The matrix that I wanted to read was actually stored in the <code>hdf5</code> file as a <code>python pickle</code>.  So every time I tried to open it and access it through <code>R</code> i got a <code>segmentation fault</code>.  I did figure out how to save the matrix from within <code>python</code> as a <code>tsv</code> file and now that problem is solved.</p>