dir.apply | R Documentation |
x
and using names(x)
as the filenames.Wrapper for applying a write function to each element of list x
and using names(x)
as the filenames.
dir.apply(x, path, fn = dir.tab, ...)
x |
A list. |
fn |
The function to be applied to each element of |
... |
Additional arguments to |
A list.
dir.tab
, base::lapply
x <- split(iris,iris$Species)
dir.apply(x, dir.csv, path="path/to")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.