[Rd] rep(): Expecting an argument-is-missing error, but ...
Henrik Bengtsson
henr|k@bengt@@on @end|ng |rom gm@||@com
Thu Dec 11 07:40:29 CET 2025
What's going on here:
$ R --vanilla --quiet
> f <- function(n) rep("x", times = n)
> f()
[1] "x"
?
> getRversion()
[1] ‘4.5.2’
/Henrik
More information about the R-devel
mailing list