rename R.repeatN and revert argument order
Merge pull request #629 from davidchambers/repeat

rename R.repeatN and revert argument order