Re: [R] reading text files compressed by gzip

2009-02-24 Thread jim holtman
What did the data appear like when it was read in? Have you just tried to read in the lines (readLines) to see if the decompression is working? Does this compare to what you get if you decompress the file outside of R? Not exactly sure what you mean by "force" since the command it probably readi

[R] reading text files compressed by gzip

2009-02-24 Thread Daren Tan
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 1. How can I "force" the remaining rows to be read into m ? >m <- read.delim(gzfile("Sa