Implement R script
Add .gitignore