Description Usage Arguments Details Value Examples
Runs analyze_cyl_file on all files in a directory
1 2 3 4 5 6 7 8 | process_qsm_dir(
qsm_path = ".",
parallel_process = T,
cyl_file_pat = "cyl.*.txt",
rename_pat = "",
recursive = F,
file_batching = 0
)
|
qsm_path |
PARAM_DESCRIPTION |
parallel_process |
PARAM_DESCRIPTION, Default: T |
cyl_file_pat |
PARAM_DESCRIPTION, Default: 'cyl.*.txt' |
rename_pat |
Regex applied to filenames when naming ouput list elements (sub(rename_pat, '\1', filename)) |
recursive |
PARAM_DESCRIPTION, Default: F |
file_batching |
Number of files to process per batch, or 0 to process all at once, Default: 0 |
This routine provides a facility to name each element of the list based on the name of the corresponding cyl file. Use rename_pat parameter to customize the renaming. File batching can be used to avoid memory errors, etc
list, one element per cyl file, of outputs from analyze_cyl_file
1 2 3 4 5 6 | ## Not run:
if(interactive()){
#EXAMPLE1
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.