finding the percentage > x with r
I would try the following R-Code for subsetting:

World[World$isOfficial != 't' &amp; World$percentage &gt; 50, "country.y"]


And in case isOfficial is type logical, I would try this R-code:

World[!(World$isOfficial) &amp; World$percentage &gt; 50, "country.y"]