calculates rr with test.r, waiting for training data for pc