I have big .csv
data file. I'm trying to read it into R by read.csv()
, but it is taking too much time to read it. Is there any more efficient method to read it?
Asked
Active
Viewed 285 times
0

user2806363
- 2,513
- 8
- 29
- 48
-
2`data.table::fread`. Also see http://stackoverflow.com/questions/7327851/read-csv-is-extremely-slow-in-reading-csv-files-with-large-numbers-of-columns ; http://stackoverflow.com/questions/1727772/quickly-reading-very-large-tables-as-dataframes-in-r – Ben Bolker Jan 19 '14 at 18:22
-
(note that just about any answer that applies to `read.table()` will also be relevant to `read.csv()`) – Ben Bolker Jan 19 '14 at 18:23
-
... http://stackoverflow.com/questions/18295819/how-can-i-read-a-csv-more-quickly-in-r?rq=1 ... – Ben Bolker Jan 19 '14 at 18:23
-
[some benchmarks](http://stackoverflow.com/questions/1727772/quickly-reading-very-large-tables-as-dataframes-in-r) – marbel Jan 19 '14 at 18:25