Learn R Programming

backports (version 1.5.0)

strrep: Backport of strrep for R < 3.3.0

Description

See the original description in base::strrep.

Usage

strrep(x, times)

Arguments

Examples

Run this code
# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_strrep = getFromNamespace("strrep", "backports")

bp_strrep("-", 10)

Run the code above in your browser using DataLab