Description Usage Arguments Details See Also
gzip_files
compresses all data files in a directory using gzip, if not
already compressed
1 | gzip_files(dir.name = "data/raw", pattern = NULL, recursive = FALSE)
|
dir.name |
A string with the name of the directory containing the data
files. Defaults to the |
pattern |
An optional regular expression. Only file names which match the regular expression will be compressed. |
recursive |
A boolean indicating whether to include subdirectories |
This function takes the name of a directory and checks all of the data files
within the directory to if they are already compressed. For each file that is
not, it will compress the file using gzip
.
gzip
,
regex
for regular expressions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.