[R] How to get the list of the files when you read zip file by gzfile or unz

2005-08-24 Thread Shawn Lee
Dear List, Does somebody know how to get the filename lists in the ziped when gzfile or unz command is used ? Thanks for your help. Shawn Lee -- The information contained in this communication and any atta...{{dropped}} __

Re: [R] How to get the list of the files when you read zip file by gzfile or unz

2005-08-24 Thread Prof Brian Ripley
On Wed, 24 Aug 2005, Shawn Lee wrote: Does somebody know how to get the filename lists in the ziped when gzfile or unz command is used ? There is no list when gzfile() is used: a gzipped file is not a zip archive. unz() opens a single specified file in a zip archive. AFAIK R does not