hello all thanks a lot for the info, I just actually needed to remove that comma in my command line what i had typed in was t.test(temp.matrix[,1:11],temp.matrix[,12:22],paired=TRUE) what i needed to do was t.test(temp.matrix[1:11],temp.matrix[12:22],paired=TRUE) thanks Petr, saw your comment later. nameeta