Utilities for using R scripts in Hadoop streaming