addes R script file and *.tex files