Hello Nicola, > sentences_trial <- sentences[which(sentences$Cond!= "an"),] That should be == "an" instead of = "an" == is the test for equality whereas = is assignment Michael