the r files for assignment 2