An R wrapper for DGGrid