cor.test for several parameters - automated Spearman rank correlations?

Have a look here so long: Pair wise cor.test based on combinations of variables

When I get time I will look at your data and see how best to do it.