strrep {backports} | R Documentation |
See the original description in base::strrep
.
strrep(x, times)
# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_strrep = getFromNamespace("strrep", "backports")
bp_strrep("-", 10)