问题 I am trying to put a list of matrices together in a list and then do summation inside of each list. Below are the simple example of the codes: Let's say if I have 4 matrices: x1 <- matrix(1:9, nrow = 3) x2 <- matrix(2:10, nrow = 3) x3 <- matrix(3:11, nrow = 3) x4 <- matrix(4:12, nrow = 3) And I want to put them into a list() in a way like this: [[1]] [[1]][[1]] [,1] [,2] [,3] [1,] 1 4 7 [2,] 2 5 8 [3,] 3 6 9 [[1]][[2]] [,1] [,2] [,3] [1,] 2 5 8 [2,] 3 6 9 [3,] 4 7 10 [[2]] [,1] [,2] [,3] [1,]