Re: [R] comparing two data files

2010-10-19 Thread Mike Marchywka
> From: nicol...@buffalo.edu > Date: Tue, 19 Oct 2010 18:23:27 -0400 > To: r-help@r-project.org > Subject: [R] comparing two data files > > I have 2 large data files that I need to compare and find the differences > between data file

Re: [R] comparing two data files

2010-10-19 Thread Henrique Dallazuanna
Here is some ways: all.equal(readLines(file1), readLines(file2)) You could try compare md5sum of the files: library(tools) identical(md5sum(file1), md5sum(file2)) On Tue, Oct 19, 2010 at 8:23 PM, Nicole Brandt wrote: > I have 2 large data files that I need to compare and find the differences

[R] comparing two data files

2010-10-19 Thread Nicole Brandt
I have 2 large data files that I need to compare and find the differences between data file x and data file y in order to correct data entry error. Theoretically both data files should be identical. I am trying to figure out a way to do this in R. Any help would be great! ___