> rep(c("A","B"), times=2) [1] "A" "B" "A" "B"
a = ['1','2','3','4'] output = [a]*1000
>>> ["A","B"]*2 ['A', 'B', 'A', 'B']