Resolves x[[i]] to the element of x at position i, so c("a", "b")[[2]] is "b".
x[[i]]
x
i
c("a", "b")[[2]]
"b"
Resolves
x[[i]]to the element ofxat positioni, soc("a", "b")[[2]]is"b".