Create R file