R wrapper for the Google Prediction API