Thank you Jorge & Michael.

I was being stupid - its the only explanation!

The line I had been executing was 

mtcars[rownames=="Valiant"] # missing rownames argument

but the line I quoted in my post was 

mtcars[rownames(mtcars) != "Valiant",]  # How could I write the correct line in 
the mailing list and not where it matters i.e in R?

Thank you.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to