I would like a pure R way to test whether two arbitrary files are different. So, the equivalent to diff -q in Unix, but should work on Windows and without exter
diff -q
all.equal(readLines(f1), readLines(f2))