wilcox.test
tests the median difference between two distributions.
ks.test
tests for any difference between two distributions.
How to test (better having an implementation in R) for the difference in the one-side tail (e.g., right tail) between two distributions (e.g., one distribution has a longer right tail distribution than the other, any difference in the middle or the left tail does not matter)?