powered by
times
stri_dup(str, times)
str
stri_c
stri_join
stri_paste
stri_flatten
if (stri_install_check(silent=TRUE)) stri_dup("a", 1:5) if (stri_install_check(silent=TRUE)) stri_dup(c("a", NA, "ba"), 4) if (stri_install_check(silent=TRUE)) stri_dup(c("abc", "pqrst"), c(4, 2))
Run the code above in your browser using DataLab