Yes. It’s a part of a particular function. It is required thing to be done in R, otherwise we have to be done manually and that will take time.

 

 

 

From: arun kirshna [via R] [mailto:ml-node+s789695n4643401h69@n4.nabble.com] 
Sent: Monday, September 17, 2012 11:14 PM
To: Akkara, Antony (GE Energy, Non-GE)
Subject: Re: Zip a file

 



Hi Antony, 

I don't use the function zip().  I was able to access the R documentation for zip() (package:utils). 

 I am using R 2.15 in Ubuntu 12.04.   If I wanted to compress files, I do gzip() from linux terminal.  I guess in windows, you can use 7-zip or other WinZip.  Is there any specific reason for you to zip files within R? 
A.K.        

----- Original Message ----- 

From: Rantony <[hidden email]> 
To: [hidden email] 
Cc: 
Sent: Monday, September 17, 2012 3:07 AM 
Subject: Re: [R] Zip a file 

Hi Arun, 



I tried this way, but getting an error like 



Using Eclips: 

“Error in .rj.originals$help(..., help_type = "html") : 'topic' should be a name, length-one character vector or reserved word” 



Using R: 

Error: could not find function "zip" 



So, is it required to install any package for zip functioning ? 







From: arun kirshna [via R] [mailto:[hidden email]] 
Sent: Thursday, September 13, 2012 11:55 PM 
To: Akkara, Antony (GE Energy, Non-GE) 
Subject: Re: Zip a file 



HI, 

If you look ?zip(), the usage is: 
     zip(zipfile, files, flags = "-r9X", extras = "", 
         zip = Sys.getenv("R_ZIPCMD", "zip")) 
    
A.K. 




----- Original Message ----- 
From: Rantony <[hidden email]> 
To: [hidden email] 
Cc: 
Sent: Thursday, September 13, 2012 8:10 AM 
Subject: [R] Zip a file 

Hi, 

How to zip a csv file ? i tried with "zipfile.ZipFile" - but it showing 
function could not find. 
Is there have any other way to zip files without installing any package ? 

- Thanks in advance 
Antony 



-- 
View this message in context: http://r.789695.n4.nabble.com/Zip-a-file-tp4643012.html
Sent from the R help mailing list archive at Nabble.com. 

______________________________________________ 
[hidden email] 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. 


______________________________________________ 
[hidden email] 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. 



________________________________ 

If you reply to this email, your message will be added to the discussion below: 

http://r.789695.n4.nabble.com/Zip-a-file-tp4643012p4643049.html  

To unsubscribe from Zip a file, click here < . 
NAML <http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>  





-- 
View this message in context: http://r.789695.n4.nabble.com/Zip-a-file-tp4643012p4643344.html
Sent from the R help mailing list archive at Nabble.com. 
    [[alternative HTML version deleted]] 


______________________________________________ 
[hidden email] 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. 


______________________________________________ 
[hidden email] 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. 



________________________________

If you reply to this email, your message will be added to the discussion below:

http://r.789695.n4.nabble.com/Zip-a-file-tp4643012p4643401.html 

To unsubscribe from Zip a file, click here <http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4643012&code=YW50b255LmFra2FyYUBnZS5jb218NDY0MzAxMnwxNTUxOTQzMDI5> .
NAML <http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>  





--
View this message in context: http://r.789695.n4.nabble.com/Zip-a-file-tp4643012p4643467.html
Sent from the R help mailing list archive at Nabble.com.
	[[alternative HTML version deleted]]


