I have a list in R of approximately 10,000 items. Say I want to select only elements 5, 7, and 9. I'm not sure how to do this without a for loop.
I want to do something like mylist[[c(5,7,9]] , but that will not work. I also tried the lapply function, but could not get this to work.
list r subset
user1357015 Aug 25 2018-12-12T00: 00Z
source share