Pieces of R code useful for everyday's coding