According to "CHANGES IN R 3.3.2 patched" in NEWS, rep(x, times) and rep.int(x, 
times) also work when 'times' has length greater than one and has element 
larger than the maximal integer. In fact, it is still not the case in R 3.3.3 
beta r72259. In seq.c 
(https://svn.r-project.org/R/branches/R-3-3-branch/src/main/seq.c), 'times' 
that is a vector with storage mode "double" and length greater than one is 
still changed first to storage mode "integer". Number in 'times' that 
represents an integer that is larger than the maximal integer becomes NA and 
error is issued for such 'times'.

I have put a comment, 
https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16932#c30 .

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to