Minor tweaks to SparkR.
Merge pull request #164 from concretevitamin/ampcamp5

Minor tweaks to SparkR.