Pair wise cor.test based on combinations of variables

You can also use corr.test from psych package. See my answer here:

1 Like