Hi,
in R 4.1.2 we have:
> x <- structure(as.list(1:2), dim = c(1,2))
> x
[,1] [,2]
[1,] 12
> as.vector(x, mode = "list")
[,1] [,2]
[1,] 12
whereas in recent versions of R-devel (4.2.0) we have:
> x <- structure(as.list(1:2), dim = c(1,2))
> x
[,1] [,2]
[1,] 12
> as.ve
Dear list,
Currently, it is needed to use anonymous functions to pass additional
parameters to f in Reduce.
The following patch adds ... to pass additional arguments directly and seems to
work in simple cases (see example below).
However, since this was not available (even though it is common