Added R examples for Ch 9