Description Usage Arguments Value Examples
Concatenate all the files inside or outside directories
1 |
df |
character vector or list of files or directories in full path |
in_pattern |
file selection pattern |
ex_pattern |
file exclusion pattern |
character vector including full path only for files
1 2 3 4 5 6 | df <- c("/opt/R/4.0.2/lib/R/library/base/Meta/Rd.rds", system.file())
df <- c("/opt/R/4.0.2/lib/R/library/base/Meta/Rd.rds", system.file(package = "readr"), system.file(package = "dplyr"))
flat2file(df, "*.rds")
df <- "/LSC/NES/study/CARDIA/core datasets/Y25/DATA"
flat2file(df, "*.sas7bdat")
flat2file(df, in_pattern = "*.sas7bdat", ex_pattern = "h3chem.sas7bdat")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.