add R and data file