powered by
irepeat(x, times)
# Repeat a value 10 times unlist(as.list(irepeat(42, 10)))
Run the code above in your browser using DataLab