R: just some reformatting stuff