R data analysis changes