How Do choose to have an element removed from a list in R? : Say I have a list consisting of a range of integers from 1-10 with repetition and I want to remove all the 0s from that list, is there an easy way to go abouts doing that? Something like na.omit but for my choice of elements?

Thank you