You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reduce(red, list(matrix(c(1,2),ncol=1),matrix(c(2,3),ncol=1)))
# will separate the first matrix into its elements
Fixing needs an additional eval() on the intial value
Reduce(red, list(matrix(c(1,2),ncol=1),matrix(c(2,3),ncol=1)), init=init)
# additonal list() element in beginning
Reduce(red, list(matrix(c(1,2),ncol=1),matrix(c(2,3),ncol=1)), init=eval(init))
# all good
The text was updated successfully, but these errors were encountered:
Consider the default
.combine
function and intial value forforeach
This currently gives the wrong result
Fixing needs an additional eval() on the intial value
The text was updated successfully, but these errors were encountered: