update R tutorial mini-assignment