Re: [R] recursive methods for concatenating sets of files

From: Sebastian P. Luque <spluque_at_gmail.com>
Date: Wed 13 Sep 2006 - 21:31:09 GMT

On Wed, 13 Sep 2006 13:53:45 -0700,
Warren <geelewis@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.

-- 
Seb

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu Sep 14 07:54:29 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 13 Sep 2006 - 22:30:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.