I have two large and small lists. I want to know which items from a large list are not in a smaller list. The list consists of a property
([1] "character" "vector" "data.frameRowLabels"
[4] "SuperClassMethod"
Here is a small example and the error I get
A <- c("A", "B", "C", "D")
B <- c("A", "B", "C")
new <- A[!B]
Error in !B : invalid argument type
Expected Result - New <- c ("D")
source
share