[R] Import Multiple csv files and merge into one Master file

Erik Iverson eriki at ccbr.umn.edu
Fri Oct 8 05:28:23 CEST 2010


See the R Data Import/Export manual for the first step:

http://cran.r-project.org/doc/manuals/R-data.html

?read.table should help you out.  You might use
?lapply along with read.table to read in multiple files.

Then, use ?merge, possibly in tandem with the ?Reduce
function, depending on how many data.frames you're
dealing with.

A more specific question will elicit perhaps more specific
answers.


On 10/07/2010 10:19 PM, XINLI LI wrote:
> Dear R Group:
>
>      How to import multiple csv files and merge into one dataset.
>
> Thanks and Regards,
>
>     Xing
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org 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.



More information about the R-help mailing list