add a R script and its plot