A package with different implementations of weighted random sampling without replacement in R.
library(devtools) install_github("krlmlr/wrswoR")