> 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 x and data file y in o
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
2 matches
Mail list logo