R script file for the project