Reverse argument order in R.tap. Solve #453

R.tap took its arguments value first, function second but it was
generally agreed that the function is more extensible if the arguments
were reversed.