Tips and tricks in R