REngine REXP. The exponential distribution with rate &92;lambda has density. r-functions is a small library which allows users to call R functions from within Python. Mar 21, 2012 The R function that generates exponential variates directly is rexp (n, rate 1) where, for example, the parameter called rate might correspond to the arrival rate of requests going into your test rig or system under test (SUT). .