editing R file