Tips and tricks for R