Stepwise optimality accuracy via R