I have a moderately large csv file that's gzipped, but not in a tar
archive, so it's "filename.csv.gz" that I want to read into a data.table.
I'd like to use fread(), but I can't seem to make it work. I'm currently
using the following:
data.table(read.csv(gzfile("filename.csv.gz","r")))
Various combinations of gzfile, gzcon, file, readLines, and
textConnection all produce an error (invalid input). Is there a better
way to read in large, compressed files?
-------
Nathaniel Graham
[email protected]
[email protected]
_______________________________________________
datatable-help mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help