adding .R file