Displaying 3 results from an estimated 3 matches for "375ade8".
2018 Apr 29
2
Result of 'seq' doesn't use compact internal representation
...; doesn't use compact internal representation. However, looking at the code of function 'seq.default', seq(1,n) produces 1:n. What is going on?
> h <- seq.default
> environment(h) <- .GlobalEnv
> library(compiler)
> enableJIT(0)
[1] 3
> .Internal(inspect(h(1,10)))
@375ade8 13 INTSXP g0c0 [NAM(3)] 1 : 10 (compact)
A non-byte-compiled version of function 'seq.default' can produce object that uses compact internal representation.
> sessionInfo()
R version 3.5.0 (2018-04-23)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows XP (build 2600) Se...
2018 Apr 29
1
Result of 'seq' doesn't use compact internal representation
...; @7fa537fa0bf0 13 INTSXP g0c0 [NAM(3)]? 1 : 10 (compact)
>
> Duncan Murdoch
>
>>
>>> h <- seq.default
>>> environment(h) <- .GlobalEnv
>>> library(compiler)
>>> enableJIT(0)
>> [1] 3
>>> .Internal(inspect(h(1,10)))
>> @375ade8 13 INTSXP g0c0 [NAM(3)]? 1 : 10 (compact)
>>
>> A non-byte-compiled version of function 'seq.default' can produce
>> object that uses compact internal representation.
>>
>>
>>> sessionInfo()
>> R version 3.5.0 (2018-04-23)
>> Platform: i38...
2018 Apr 29
0
Result of 'seq' doesn't use compact internal representation
...,3,4,5,...
> .Internal(inspect(seq2(1,10)))
@7fa537fa0bf0 13 INTSXP g0c0 [NAM(3)] 1 : 10 (compact)
Duncan Murdoch
>
>> h <- seq.default
>> environment(h) <- .GlobalEnv
>> library(compiler)
>> enableJIT(0)
> [1] 3
>> .Internal(inspect(h(1,10)))
> @375ade8 13 INTSXP g0c0 [NAM(3)] 1 : 10 (compact)
>
> A non-byte-compiled version of function 'seq.default' can produce object that uses compact internal representation.
>
>
>> sessionInfo()
> R version 3.5.0 (2018-04-23)
> Platform: i386-w64-mingw32/i386 (32-bit)
> Ru...