R Problem Set 2