need to add option to tell program where correct R version is