getZip | R Documentation |
Allows downloading and reading of a zip file containing one file
getZip(url, password=NULL)
url |
either a path to a local file or a valid URL. |
password |
required to decode password-protected zip files |
Allows downloading and reading of zip file containing one file. The file may be password protected. If a password is needed then one will be requested unless given.
Note: to make password-protected zip file z.zip, do zip -e z myfile
Returns a file O/I pipe.
Frank E. Harrell
pipe
## Not run:
read.csv(getZip('http://test.com/z.zip'))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.