lrtab | R Documentation |
Applies a function to all file names in a specified directory matching a given pattern.
lrtab(dir, fn = read.table, pattern = NULL, ...)
dir |
The traget directory. |
fn |
The function to be applied to each directory name. |
pattern |
The regular expression matching desired files. |
... |
Additional arguments to |
A list.
dir.img
, base::list.files
dir.csv(iris, "example", path="path/to")
dir.tab(iris, "example", path="path/to")
lrtab("path/to", read.csv, "\\.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.