[R] merging multiple .csv files

Bert Gunter
2020-12-15T21:51:17Z

?read.csv to read your csv files in data frames
?merge to merge them (sequentially).


Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Tue, Dec 15, 2020 at 1:36 PM pooja sinha <pjsinha07 at gmail.com>
wrote:

> Hi All,
>
> I have 10 .csv files containing 12 to 15 columns but have some columns in
> common. I need to join all of my .csv files into one using one common
> column ?Pos?. The header portion of my .csv files looks as shown below:
>
> Chrom Pos Avg Stdev  A15_3509.C A31_3799.C A32_3800.C A35_3804.C Gene ID
> Class ExNum
>
>  Can anyone help me in getting the code for the above problem. Any help
> will be highly appreciated.
>
>
> Thanks,
>
> Puja
>
>         [[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.
>

	[[alternative HTML version deleted]]