parse RCBD from R in trial design