Most efficient way of exporting large (3.9 mill obs) data.frames to text file? [duplicate]
问题 This question already has an answer here: Speeding up the performance of write.table 6 answers I have a fairly large dataframe in R that I would like to export to SPSS. This file has caused me hours of headaches trying to import it to R in the first place, however I got successful using read.fwf() using the options comment.char="%" (a character not appearing in the file) and fill= TRUE (it was a fixed-width ASCII file with some rows lacking all variables, causing error messages). Anyway, my