TI-84 BASIC, 5 bytes
===
 randIntNoRep(1,R