a<-sapply(a,function(x) data.frame(x)) #去掉list里面的各种层级的属性;
list a
$`1`
integer(0)
$`2`
integer(0)
$`3`
[1] 5
$`4`
integer(0)
$`5`
[1] 5
$`6`
[1] 13 18 94 111
list b
$`1`
[1] 0
$`2`
[1] 7
$`3`
[1] 67
$`4`
[1] 87
$`5`
[1] 95
$`6`
[1] 106
直接相加还是报错,又不想用循环;
哪位能指点一下,多谢!