Upgrade R to version 3.1.2