rlnorm function:
rlnorm(20, log(10), log(2.5))
In general, distributions in R are usually available in forms d, p, q, r with the letters that appear first, followed by the distribution trunk: norm , lnorm , unif , gamma , ... etc. Their help pages will contain specifics of parameters that may be important when working with weibull or another distribution for which conventions are not completely standardized (as it were).
source share