From suharto_anggono at yahoo.com  Sun Feb 26 13:02:44 2017
From: suharto_anggono at yahoo.com (Suharto Anggono Suharto Anggono)
Date: Sun, 26 Feb 2017 12:02:44 +0000 (UTC)
Subject: [Rd] rep/rep.int: in NEWS, but not yet ported from trunk
References: <1490161585.1255328.1488110564692.ref@mail.yahoo.com>
Message-ID: <1490161585.1255328.1488110564692@mail.yahoo.com>

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 .



[Rd] rep/rep.int: in NEWS, but not yet ported from trunk
Suharto Anggono Suharto Anggono