If you have the 7z zip utility and are on Windows (or use 7z and grep on UNIX):
DF <- read.csv(pipe("7z x myfile.zip -so | findstr $")) On Tue, Sep 22, 2009 at 9:30 PM, Peng Yu <pengyu...@gmail.com> wrote: > Hi, > > Suppose that I have a csv file that is compressed with zip, is there a > way to read it in R without first decompressing it to a file. > > Regards, > Peng > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.