[R] recursive methods for concatenating sets of files

Sebastian P. Luque spluque at gmail.com
Wed Sep 13 23:31:09 CEST 2006

On Wed, 13 Sep 2006 13:53:45 -0700,
Warren <geelewis at gmail.com> wrote:

> Hello, I would like to read sets of files within a folder, perhaps using
> recursive methods.

Maybe this:

fv <- list.files()
lf <- sapply(fv, read.delim, quote="", as.is=TRUE)
xx <- do.call(cbind, lf)

You can find more info in the respective help pages.


More information about the R-help mailing list