openCompressedFile | R Documentation |
Open a (possibly) compressed file, that was compressed by either 'gzip' or 'bzip2'
openCompressedFile(filename, open = "r")
filename |
character string, the full pathname to one existing file |
open |
mode for opening, passed on to 'gzopen' etc. |
A simple wrapper function to open a possibly compressed file, without regard for which compression tool had been used.
a connection to the oped file. If an error, the error as returned by 'file', 'gzfile', etc.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.