Data frames in R - Exporting data in R