HCatalog Functions for R