R scripts for Kaggle competitions