Trying the exercies in 'A Short Introduction to R' by Richard Harris. Probably not of any interest to anyone except me.