option for writing a dataframe to a file is to use the write.csv() function. If you do nothing else write.csv(localData, "file.data") will produce "","ColA","ColB" "1",2,10 "2",4,25 "3",6,32 "4",8,48 "5",10,57 as the file contents. It has put labels and row numbers in quotes. To turn all that off, which is probably the preferred format, use write.csv(localData, "file.data", quote=FALSE, row.names=FALSE) instead. c 2013 Performance Dynamics Quick Tour of R March 26, 2013 19 / 50