R scripts and plot files