update R to 3.1.1