Practices of R programming