Cleaning up the *.R file