[R] reading text files compressed by gzip
darentan76 at gmail.com
Tue Feb 24 15:13:36 CET 2009
I have a number of text files that were archived by gzip. To save the
trouble of uncompressing them, I used the following command. Then I
checked the dimension of m, the number of rows is 14 which should be
10000. How can I "force" the remaining rows to be read into m ?
>m <- read.delim(gzfile("Sample.txt.gz"), sep="\t").
 14 15
R version 2.8.0 (2008-10-20)
attached base packages:
 stats graphics grDevices utils datasets methods base
other attached packages:
 gplots_2.6.0 gdata_2.4.2 gtools_2.5.0
loaded via a namespace (and not attached):
More information about the R-help