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
the closest to the unix command is diffr - it shows a really nice side by side window with all the different lines marked in color.
diffr
library(diffr) diffr(filename1, filename2)
shows