Upgrade R to version 3.1.0
Merge pull request #3994 from cubranic/r-3-1-0

Upgrade R to version 3.1.0