I have come to the conclusion that $r->variable() is completely worthless.