The issue is my list that I need to filter on is around 15000 elements long, and the error I am getting seems to say that filter %in% can only handle up to 1000 elements.
I've conceptualized a for loop to run through my elements using filter, but I am wondering if there is another way to do this?