Suppose that I have five vectors:
A<-1:10 B<-1:10 C<-1:10 D<-1:10 E<-1:12
I could test two at a time using identical( ).
Another option, just for fun:
Vectorize(identical, 'x')(list(A, B, C, D, E), C)