Second tutorial for r