Displaying 3 results from an estimated 3 matches for "r77592".
2019 Dec 18
2
head/tail breaking change
...ge.
# R 3.6.1
ar = array(1:27, c(3,3,3))
tail(ar, 1)
#[1] 27
The current output of R-devel is something that I would expect from a
tail(ar, c(1, Inf, Inf))
or
tail(ar, c(1, NA, NA))
calls.
Is it going to stay like this or there are plans to mitigate this
breaking change?
# R-devel 2019-12-17 r77592
ar = array(1:27, c(3,3,3))
tail(ar, 1)
#, , 1
#
# [,1] [,2] [,3]
#[3,] 3 6 9
#
#, , 2
#
# [,1] [,2] [,3]
#[3,] 12 15 18
#
#, , 3
#
# [,1] [,2] [,3]
#[3,] 21 24 27
Best,
Jan Gorecki
2019 Dec 19
1
head/tail breaking change
...ng that I would expect from a
>>
>> tail(ar, c(1, Inf, Inf))
>>
>> or
>>
>> tail(ar, c(1, NA, NA))
>>
>> calls.
>> Is it going to stay like this or there are plans to mitigate this
>> breaking change?
>>
>> # R-devel 2019-12-17 r77592
>> ar = array(1:27, c(3,3,3))
>> tail(ar, 1)
>> #, , 1
>> #
>> # [,1] [,2] [,3]
>> #[3,] 3 6 9
>> #
>> #, , 2
>> #
>> # [,1] [,2] [,3]
>> #[3,] 12 15 18
>> #
>> #, , 3
>> #
>> # [,1]...
2019 Dec 18
0
head/tail breaking change
...t;
> The current output of R-devel is something that I would expect from a
>
> tail(ar, c(1, Inf, Inf))
>
> or
>
> tail(ar, c(1, NA, NA))
>
> calls.
> Is it going to stay like this or there are plans to mitigate this
> breaking change?
>
> # R-devel 2019-12-17 r77592
> ar = array(1:27, c(3,3,3))
> tail(ar, 1)
> #, , 1
> #
> # [,1] [,2] [,3]
> #[3,] 3 6 9
> #
> #, , 2
> #
> # [,1] [,2] [,3]
> #[3,] 12 15 18
> #
> #, , 3
> #
> # [,1] [,2] [,3]
> #[3,] 21 24 27
>
> Best,
> Ja...