Edit R file