Re: [R] merge 2 txt file

From: John Kane <>
Date: Wed, 05 Nov 2008 07:09:54 -0800 (PST)

> From: Alessandro <>
> Subject: [R] merge 2 txt file
> To:,
> Received: Tuesday, November 4, 2008, 6:52 PM
> Hi all,
> I have two txt file with X,Y,Z column and I need to merge
> together
> I tried
> file_all <-
> merge("file1.txt","file2.txt")
> but I don't sure about the result. Is It this code
> correct?

Who knows? We need some information on what the files contain and how you want to "merge" them.

The best thing to do is to follow the posting guidelines and provide a small working example of what the data looks like and what you are trying to do.

You might want to take a look at ?cbind and ?rbind. mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Wed 05 Nov 2008 - 15:12:31 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 05 Nov 2008 - 15:30:22 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive