R with utility functions for GSCF