R file uploaded by Abhay Mathur