R in action examples