[Rd] seq.int/seq.default
Martin Maechler
maechler at stat.math.ethz.ch
Thu Jan 5 12:40:28 CET 2017
>>>>> Mick Jordan <mick.jordan at oracle.com>
>>>>> on Wed, 4 Jan 2017 12:49:41 -0800 writes:
> On 1/4/17 8:15 AM, Mick Jordan wrote:
> Here is another difference that I am guessing is unintended.
>> y <- seq.int(1L, 3L, length.out=2)
>> typeof(y)
> [1] "double"
>> x <- seq.default(1L, 3L, length.out=2)
>> typeof(x)
> [1] "integer"
> The if (by == R_MissingArg) branch at line 842 doesn't contain a check
> for "all INTSXP" unlike the if (to == R_MissingArg) branch.
> Mick
I'll look at this case, too,
thank you once more!
More information about the R-devel
mailing list