Code support for using R with the Greenplum database