rename R.repeatN and revert argument order

As discussed in #626

Wonderful! I'm very pleased we agree on this. :)