In the documentation, I see:
The default behavior looks as if the call was
rep (x, times = 1, length.out = NA, each = 1)
But this does not apply to rep.int , which requires a time argument:
>rep(0,) [1] 0 >rep.int(0,) Error in rep.int(0, ) : argument "times" is missing, with no default
Zbynek
source share