get the r version for the next session