R utilities for Downsaling Portal