moved R intro to lecture 4