[R] Merge several datasets into one

Lists at dewey.myzen.co.uk Lists at dewey.myzen.co.uk
Thu Jun 30 23:09:52 CEST 2016


Lily Li <chocold12 at gmail.com> wrote :

I think you are going to have to give us some more detail. What commands did you execute? what are the names of the .csv files in your directory? Can you read one of them as asingle read.csv?

> Hi R users,
> 
> I'd like to ask that how to merge several datasets into one in R? I put
> these csv files in one folder, and use the lapply function, but it says
> that cannot open file 'xx.csv'. These files have different names, but end
> with .csv extension, and the files have the same header. Thanks for your
> help.
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org
> mailing list -- To UNSUBSCRIBE and more, see
> 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