Simple things in R for STAT 350