Initialized R Session for hw2.