adding a .R file