Which of these methods will successfully subset a list component?

> my_list$str> my_list[["str"]]> my_list[[2]]> my_list$hello

Fantastic! We can use [[]] with an index or a name to create a subset. Alternatively, we can use the $ symbol followed by a name.

Oh noes! We can use [[]] with an index or a name to create a subset. Alternatively, we can use the $ symbol followed by a name.