x <- list(a=list(1, 2, 3), b=list(4, 5, 6), c=list(7, 8, 9))
then class(x[1])
and class(x[[1]])
both show :
[1] "list"
then x[[1]][[3]]
output:
[1] 3
however, x[1][[3]]
output:
Error in x[1][[3]] : subscript out of bounds
So, why x[1][[3]] doesn't work? in my opinion, you can use [[ to subset the element of a list.