R Code for Reuters Final Exercise CS909 Data Mining Warwick