[R] Merging files

stephen sefick ssefick at gmail.com
Tue Apr 27 20:22:55 CEST 2010


?merge

On Tue, Apr 27, 2010 at 1:19 PM, Alex Jameson <ajameson75 at gmail.com> wrote:
> This is a more detailed description of the problem,
>
> I have written the following lines of code to read the files
>
> data1=("c:\\mydata\\file1.txt")
> data2=("c:\\mydata\\file2.txt")
>
> file 1 has fields like patientID, Name which are common in file2, however
> not all fields are common
>
> i would like to create file3.txt with the merged data fields,
>
> i hope this is clear, and i thank everyone, who has responded so far.
>
>
> Alex Jameson
> Student,
> University of Colorado
>
>        [[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.
>



-- 
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods.  We are mammals, and have not exhausted the
annoying little problems of being mammals.

								-K. Mullis



More information about the R-help mailing list