R tips and tricks