R-examples for data science