[R] zip.file.extract

From: Li, Xuejun <XueLi_at_coh.org>
Date: Thu, 19 Mar 2009 11:30:17 -0700


Hello everyone,  

Can anyone give me some hint/suggestion for unzipping a file in R? The help file for "zip.file.extract" function seems to be difficult to understand.  

For example, the name of my zip file is "refGene.txt.gz", which is located in "C:\Documents and Settings\Desktop\test1". I would like to unzip this file to the same directory.  

Here's the syntax from the help file,  

zip.file.extract(file, zipname = "R.zip", unzip = getOption("unzip"))  

What I should use for the "file" and the "zipname" arguments? I tried different ways, but none of them is working. Thank you!  

Best regards,  

Arthur      

Arthur Xuejun Li

City of Hope Comprehensive Cancer Center

Department of Information Science

1500 East Duarte Road

Duarte, CA 91010 - 3000

Ph: (626) 256-4673 ext. 65121

Fax: (626) 471-7106  


SECURITY/CONFIDENTIALITY WARNING: \ This message an...{{dropped:23}}



R-help_at_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. Received on Thu 19 Mar 2009 - 17:36:15 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 19 Mar 2009 - 19:31:39 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive