View source: R/read_dti_tcktsf.R
| is.gzip.file | R Documentation |
Uses the gzip magic number (0x1f 0x8b) rather than the file
extension, since files are regularly renamed or stripped of their
extension. Reading a gzip-compressed payload from a plain file()
connection silently produces garbage.
is.gzip.file(filepath)
filepath |
character string, path to the file to check. |
logical, TRUE if the file starts with the gzip magic number.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.