How can we have unlimited dimensions for a dataset in HDF5 File using RHDF5 package?
<p>Though it might seem similar to an already question: <a href="https://stackoverflow.com/questions/25752873/is-it-possible-to-update-dataset-dimensions-in-hdf5-file-using-rhdf5-in-r">is-it-possible-to-update-dataset-dimensions-in-hdf5-file-using-rhdf5-in-r</a> but they are not exactly same. </p>

<p>In RHDF5 documentation, it is written that we can define the maximum dimensions that a dataset can have at the time dataset is created using h5createDataset() (using maxdims parameter). But what if we don't know the dimensions of the dataset beforehand e.g. we might have a situation that the size of the dataset is continuously increasing and so, we have no idea about the maximum dimensions that a dataset can attain.</p>

<p>In the answer to the question mentioned above, it was mentioned that it can be done with the help of dataspace and HDF5 constants.</p>

<p>Can anyone please give some idea regarding how HDF5 constants and dataspace can be used to do so?</p>